home *** CD-ROM | disk | FTP | other *** search
/ Eagles Nest BBS 8 / Eagles_Nest_Mac_Collection_Disc_8.TOAST / Developer Tools⁄Additions / OpenProlog1d / Open Prolog Info < prev    next >
MacBinary  |  1991-02-01  |  19.9 KB  |  [TEXT/PRLG]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Fri Feb 1 14:00:34 1991, modified Fri Feb 1 14:00:34 1991, creator 'PRLG', type ASCII, 19642 bytes "Open Prolog Info" , at 0x4d3a 502 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[PRLG]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 10 4f 70 65 6e 20 50 | 72 6f 6c 6f 67 20 49 6e |..Open P|rolog In|
|00000010| 66 6f 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |fo......|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 50 52 4c | 47 00 00 00 00 00 00 00 |.TEXTPRL|G.......|
|00000050| 00 00 00 00 00 4c ba 00 | 00 01 f6 a3 cf 6b 52 a3 |.....L..|.....kR.|
|00000060| cf 6b 52 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.kR.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 76 6e 00 00 |........|....vn..|
|00000080| d7 20 48 69 2e 20 57 65 | 6c 63 6f 6d 65 20 74 6f |. Hi. We|lcome to|
|00000090| 20 27 4f 70 65 6e 20 50 | 72 6f 6c 6f 67 27 2e 0d | 'Open P|rolog'..|
|000000a0| 54 68 69 73 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |This inf|ormation|
|000000b0| 20 72 65 66 65 72 73 20 | 74 6f 20 76 65 72 73 69 | refers |to versi|
|000000c0| 6f 6e 20 31 2e 30 64 31 | 37 2e 0d 50 6c 65 61 73 |on 1.0d1|7..Pleas|
|000000d0| 65 20 72 65 61 64 20 69 | 74 20 63 61 72 65 66 75 |e read i|t carefu|
|000000e0| 6c 6c 79 2c 20 65 73 70 | 65 63 69 61 6c 6c 79 20 |lly, esp|ecially |
|000000f0| 74 68 65 20 73 65 63 74 | 69 6f 6e 20 6f 6e 20 77 |the sect|ion on w|
|00000100| 6f 72 6b 61 72 6f 75 6e | 64 73 20 61 74 20 74 68 |orkaroun|ds at th|
|00000110| 65 20 65 6e 64 2e 0d 54 | 68 69 73 20 69 73 20 61 |e end..T|his is a|
|00000120| 20 64 65 76 65 6c 6f 70 | 6d 65 6e 74 20 76 65 72 | develop|ment ver|
|00000130| 73 69 6f 6e 20 6f 66 20 | 74 68 65 20 73 6f 66 74 |sion of |the soft|
|00000140| 77 61 72 65 2c 20 73 6f | 20 69 74 20 68 61 73 20 |ware, so| it has |
|00000150| 62 75 67 73 21 0d 53 61 | 76 65 20 79 6f 75 72 20 |bugs!.Sa|ve your |
|00000160| 77 6f 72 6b 20 6f 66 74 | 65 6e 2e 0d 0d 43 68 61 |work oft|en...Cha|
|00000170| 6e 67 65 73 20 66 72 6f | 6d 20 70 72 65 76 69 6f |nges fro|m previo|
|00000180| 75 73 20 76 65 72 73 69 | 6f 6e 73 20 61 72 65 20 |us versi|ons are |
|00000190| 6c 69 73 74 65 64 20 61 | 74 20 74 68 65 20 65 6e |listed a|t the en|
|000001a0| 64 20 6f 66 20 74 68 65 | 20 66 69 6c 65 2e 0d 0d |d of the| file...|
|000001b0| d7 20 49 6e 74 72 6f 64 | 75 63 74 69 6f 6e 0d 0d |. Introd|uction..|
|000001c0| 4f 70 65 6e 20 50 72 6f | 6c 6f 67 20 69 73 20 61 |Open Pro|log is a|
|000001d0| 6e 20 69 6d 70 6c 65 6d | 65 6e 74 61 74 69 6f 6e |n implem|entation|
|000001e0| 20 6f 66 20 45 64 69 6e | 62 75 72 67 68 20 50 72 | of Edin|burgh Pr|
|000001f0| 6f 6c 6f 67 2e 0d 0d 46 | 6f 72 20 69 6e 66 6f 72 |olog...F|or infor|
|00000200| 6d 61 74 69 6f 6e 20 6f | 6e 20 50 72 6f 6c 6f 67 |mation o|n Prolog|
|00000210| 20 69 74 73 65 6c 66 2c | 20 72 65 66 65 72 20 74 | itself,| refer t|
|00000220| 6f 20 6f 6e 65 20 6f 66 | 20 74 68 65 20 73 74 61 |o one of| the sta|
|00000230| 6e 64 61 72 64 20 74 65 | 78 74 62 6f 6f 6b 73 2c |ndard te|xtbooks,|
|00000240| 0d 66 6f 72 20 69 6e 73 | 74 61 6e 63 65 20 27 50 |.for ins|tance 'P|
|00000250| 72 6f 67 72 61 6d 6d 69 | 6e 67 20 69 6e 20 50 72 |rogrammi|ng in Pr|
|00000260| 6f 6c 6f 67 27 20 62 79 | 20 43 6c 6f 63 6b 73 69 |olog' by| Clocksi|
|00000270| 6e 20 26 20 4d 65 6c 6c | 69 73 68 2c 0d 27 49 6e |n & Mell|ish,.'In|
|00000280| 74 72 6f 64 75 63 74 69 | 6f 6e 20 74 6f 20 4c 6f |troducti|on to Lo|
|00000290| 67 69 63 20 50 72 6f 67 | 72 61 6d 6d 69 6e 67 27 |gic Prog|ramming'|
|000002a0| 20 62 79 20 43 68 72 69 | 73 74 6f 70 68 65 72 20 | by Chri|stopher |
|000002b0| 48 6f 67 67 65 72 2c 20 | 6f 72 20 74 68 65 0d 65 |Hogger, |or the.e|
|000002c0| 78 63 65 6c 6c 65 6e 74 | 20 27 41 72 74 69 66 69 |xcellent| 'Artifi|
|000002d0| 63 69 61 6c 20 49 6e 74 | 65 6c 6c 69 67 65 6e 63 |cial Int|elligenc|
|000002e0| 65 20 74 68 72 6f 75 67 | 68 20 50 72 6f 6c 6f 67 |e throug|h Prolog|
|000002f0| 27 20 62 79 20 4e 65 69 | 6c 20 43 2e 20 52 6f 77 |' by Nei|l C. Row|
|00000300| 65 2e 0d 28 54 69 74 6c | 65 73 20 61 72 65 20 61 |e..(Titl|es are a|
|00000310| 70 70 72 6f 78 69 6d 61 | 74 65 2e 29 0d 0d 4f 70 |pproxima|te.)..Op|
|00000320| 65 6e 20 50 72 6f 6c 6f | 67 20 73 75 70 70 6f 72 |en Prolo|g suppor|
|00000330| 74 73 20 6d 6f 73 74 20 | 6f 66 20 74 68 65 20 66 |ts most |of the f|
|00000340| 65 61 74 75 72 65 73 20 | 6f 66 20 44 45 43 20 50 |eatures |of DEC P|
|00000350| 72 6f 6c 6f 67 20 6f 72 | 20 43 2d 50 72 6f 6c 6f |rolog or| C-Prolo|
|00000360| 67 2c 0d 69 6e 63 6c 75 | 64 69 6e 67 20 44 65 66 |g,.inclu|ding Def|
|00000370| 69 6e 69 74 65 20 43 6c | 61 75 73 65 20 47 72 61 |inite Cl|ause Gra|
|00000380| 6d 6d 61 72 73 2e 20 52 | 65 61 6c 2d 6e 75 6d 62 |mmars. R|eal-numb|
|00000390| 65 72 20 61 72 69 74 68 | 6d 65 74 69 63 20 69 73 |er arith|metic is|
|000003a0| 6e 27 74 20 73 75 70 70 | 6f 72 74 65 64 2e 0d 54 |n't supp|orted..T|
|000003b0| 68 65 20 27 6c 6f 67 69 | 63 61 6c 27 20 61 73 73 |he 'logi|cal' ass|
|000003c0| 65 72 74 20 61 6e 64 20 | 72 65 74 72 61 63 74 20 |ert and |retract |
|000003d0| 73 65 6d 61 6e 74 69 63 | 73 20 6f 66 20 4c 69 6e |semantic|s of Lin|
|000003e0| 64 68 6f 6c 6d 20 26 20 | 4f 27 4b 65 65 66 65 20 |dholm & |O'Keefe |
|000003f0| 61 72 65 0d 69 6d 70 6c | 65 6d 65 6e 74 65 64 2e |are.impl|emented.|
|00000400| 0d 4c 61 73 74 20 43 61 | 6c 6c 20 4f 70 74 69 6d |.Last Ca|ll Optim|
|00000410| 69 73 61 74 69 6f 6e 20 | 28 6f 66 74 65 6e 20 63 |isation |(often c|
|00000420| 61 6c 6c 65 64 20 54 61 | 69 6c 20 52 65 63 75 72 |alled Ta|il Recur|
|00000430| 73 69 6f 6e 20 4f 70 74 | 69 6d 69 73 61 74 69 6f |sion Opt|imisatio|
|00000440| 6e 29 20 69 73 20 64 6f | 6e 65 2c 0d 61 6e 64 20 |n) is do|ne,.and |
|00000450| 69 6e 64 65 78 69 6e 67 | 20 6f 6e 20 74 68 65 20 |indexing| on the |
|00000460| 66 69 72 73 74 20 61 72 | 67 75 6d 65 6e 74 20 6f |first ar|gument o|
|00000470| 66 20 63 6c 61 75 73 65 | 20 68 65 61 64 73 20 69 |f clause| heads i|
|00000480| 73 20 70 65 72 66 6f 72 | 6d 65 64 2c 0d 6d 61 69 |s perfor|med,.mai|
|00000490| 6e 6c 79 20 74 6f 20 64 | 65 74 65 63 74 20 64 65 |nly to d|etect de|
|000004a0| 74 65 72 6d 69 6e 61 63 | 79 20 73 6f 20 61 73 20 |terminac|y so as |
|000004b0| 74 6f 20 69 6d 70 72 6f | 76 65 20 6d 65 6d 6f 72 |to impro|ve memor|
|000004c0| 79 20 75 74 69 6c 69 73 | 61 74 69 6f 6e 2e 0d 0d |y utilis|ation...|
|000004d0| 4f 70 65 6e 20 50 72 6f | 6c 6f 67 20 69 73 20 63 |Open Pro|log is c|
|000004e0| 61 6c 6c 65 64 20 27 4f | 70 65 6e 27 20 62 65 63 |alled 'O|pen' bec|
|000004f0| 61 75 73 65 20 27 65 78 | 74 65 72 6e 61 6c 27 20 |ause 'ex|ternal' |
|00000500| 70 72 65 64 69 63 61 74 | 65 73 20 63 61 6e 20 62 |predicat|es can b|
|00000510| 65 20 64 72 6f 70 70 65 | 64 20 69 6e 74 6f 0d 69 |e droppe|d into.i|
|00000520| 74 20 76 69 61 20 61 20 | 48 79 70 65 72 63 61 72 |t via a |Hypercar|
|00000530| 64 2d 6c 69 6b 65 20 45 | 78 74 65 72 6e 61 6c 20 |d-like E|xternal |
|00000540| 50 72 65 64 69 63 61 74 | 65 20 49 6e 74 65 72 66 |Predicat|e Interf|
|00000550| 61 63 65 2e 0d 0d 4f 70 | 65 6e 20 50 72 6f 6c 6f |ace...Op|en Prolo|
|00000560| 67 20 69 73 20 6e 6f 74 | 20 63 6f 70 79 20 70 72 |g is not| copy pr|
|00000570| 6f 74 65 63 74 65 64 2e | 20 0d 0d d7 20 53 79 73 |otected.| ... Sys|
|00000580| 74 65 6d 20 26 20 4d 65 | 6d 6f 72 79 20 52 65 71 |tem & Me|mory Req|
|00000590| 75 69 72 65 6d 65 6e 74 | 73 0d 4f 70 65 6e 20 50 |uirement|s.Open P|
|000005a0| 72 6f 6c 6f 67 20 72 75 | 6e 73 20 69 6e 20 6d 61 |rolog ru|ns in ma|
|000005b0| 63 68 69 6e 65 73 20 68 | 61 76 69 6e 67 20 53 79 |chines h|aving Sy|
|000005c0| 73 74 65 6d 20 36 20 28 | 6f 72 20 6c 61 74 65 72 |stem 6 (|or later|
|000005d0| 29 20 73 79 73 74 65 6d | 20 73 6f 66 74 77 61 72 |) system| softwar|
|000005e0| 65 2e 0d 49 66 20 79 6f | 75 20 74 72 79 20 74 6f |e..If yo|u try to|
|000005f0| 20 72 75 6e 20 75 73 69 | 6e 67 20 61 6e 20 6f 6c | run usi|ng an ol|
|00000600| 64 65 72 20 73 79 73 74 | 65 6d 2c 20 69 74 20 77 |der syst|em, it w|
|00000610| 69 6c 6c 20 63 6f 6d 70 | 6c 61 69 6e 2e 0d 54 68 |ill comp|lain..Th|
|00000620| 69 73 20 6d 65 61 6e 73 | 20 74 68 61 74 20 69 74 |is means| that it|
|00000630| 20 77 6f 6e 27 74 20 72 | 75 6e 20 69 6e 20 61 6e | won't r|un in an|
|00000640| 79 74 68 69 6e 67 20 27 | 6c 65 73 73 27 20 74 68 |ything '|less' th|
|00000650| 61 6e 20 61 20 4d 61 63 | 20 50 6c 75 73 2e 0d 4f |an a Mac| Plus..O|
|00000660| 70 65 6e 20 50 72 6f 6c | 6f 67 20 73 65 65 6d 73 |pen Prol|og seems|
|00000670| 20 74 6f 20 72 75 6e 20 | 69 6e 20 53 79 73 74 65 | to run |in Syste|
|00000680| 6d 20 37 20 42 65 74 61 | 20 53 6f 66 74 77 61 72 |m 7 Beta| Softwar|
|00000690| 65 20 28 61 74 20 74 68 | 69 73 20 74 69 6d 65 29 |e (at th|is time)|
|000006a0| 2e 0d 0d 4f 70 65 6e 20 | 50 72 6f 6c 6f 67 20 77 |...Open |Prolog w|
|000006b0| 69 6c 6c 20 72 75 6e 20 | 75 6e 64 65 72 20 4d 75 |ill run |under Mu|
|000006c0| 6c 74 69 66 69 6e 64 65 | 72 20 69 6e 20 61 20 6d |ltifinde|r in a m|
|000006d0| 65 6d 6f 72 79 20 61 6c | 6c 6f 63 61 74 69 6f 6e |emory al|location|
|000006e0| 20 6f 66 0d 35 31 32 4b | 20 62 79 74 65 73 20 6f | of.512K| bytes o|
|000006f0| 72 20 61 20 62 69 74 20 | 6c 65 73 73 2e 20 31 30 |r a bit |less. 10|
|00000700| 32 34 4b 20 62 79 74 65 | 73 20 69 73 20 72 65 63 |24K byte|s is rec|
|00000710| 6f 6d 6d 65 6e 64 65 64 | 2e 0d 46 6f 72 20 6d 6f |ommended|..For mo|
|00000720| 73 74 20 70 72 6f 67 72 | 61 6d 73 2c 20 6d 6f 72 |st progr|ams, mor|
|00000730| 65 20 74 68 61 6e 20 31 | 30 32 34 4b 20 77 6f 6e |e than 1|024K won|
|00000740| 27 74 20 69 6d 70 72 6f | 76 65 20 70 65 72 66 6f |'t impro|ve perfo|
|00000750| 72 6d 61 6e 63 65 20 6d | 75 63 68 2e 0d 0d 4f 70 |rmance m|uch...Op|
|00000760| 65 6e 20 50 72 6f 6c 6f | 67 20 77 69 6c 6c 20 72 |en Prolo|g will r|
|00000770| 75 6e 20 76 65 72 79 20 | 63 6f 6d 66 6f 72 74 61 |un very |comforta|
|00000780| 62 6c 79 20 6f 6e 20 61 | 20 31 4d 42 20 6d 61 63 |bly on a| 1MB mac|
|00000790| 68 69 6e 65 20 77 69 74 | 68 0d 4d 75 6c 74 69 66 |hine wit|h.Multif|
|000007a0| 69 6e 64 65 72 20 6f 66 | 66 2e 0d 0d 4d 65 6d 6f |inder of|f...Memo|
|000007b0| 72 79 20 61 6c 6c 6f 63 | 61 74 69 6f 6e 20 61 6e |ry alloc|ation an|
|000007c0| 64 20 67 61 72 62 61 67 | 65 20 63 6f 6c 6c 65 63 |d garbag|e collec|
|000007d0| 74 69 6f 6e 20 61 72 65 | 20 61 75 74 6f 6d 61 74 |tion are| automat|
|000007e0| 69 63 2e 0d 48 6f 77 65 | 76 65 72 2c 20 73 70 61 |ic..Howe|ver, spa|
|000007f0| 63 65 20 69 73 20 6e 6f | 74 20 63 75 72 72 65 6e |ce is no|t curren|
|00000800| 74 6c 79 20 72 65 63 6f | 76 65 72 65 64 20 77 68 |tly reco|vered wh|
|00000810| 65 6e 20 63 6c 61 75 73 | 65 73 20 61 72 65 20 72 |en claus|es are r|
|00000820| 65 74 72 61 63 74 65 64 | 2c 20 6e 6f 72 0d 77 68 |etracted|, nor.wh|
|00000830| 65 6e 20 61 74 6f 6d 73 | 20 6f 72 20 66 75 6e 63 |en atoms| or func|
|00000840| 74 6f 72 73 20 61 72 65 | 20 6e 6f 20 6c 6f 6e 67 |tors are| no long|
|00000850| 65 72 20 75 73 65 64 2e | 0d 0d 46 6f 72 20 79 6f |er used.|..For yo|
|00000860| 75 72 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 2c 20 |ur infor|mation, |
|00000870| 74 68 65 20 64 65 76 65 | 6c 6f 70 6d 65 6e 74 20 |the deve|lopment |
|00000880| 65 6e 76 69 72 6f 6e 6d | 65 6e 74 20 69 73 20 61 |environm|ent is a|
|00000890| 20 4d 61 63 20 49 49 20 | 77 69 74 68 20 35 4d 42 | Mac II |with 5MB|
|000008a0| 20 52 61 6d 2e 0d 54 65 | 73 74 69 6e 67 20 69 73 | Ram..Te|sting is|
|000008b0| 20 61 6c 73 6f 20 64 6f | 6e 65 20 6f 6e 20 61 20 | also do|ne on a |
|000008c0| 4d 61 63 20 50 6c 75 73 | 20 77 69 74 68 20 34 4d |Mac Plus| with 4M|
|000008d0| 42 20 52 61 6d 2e 20 53 | 79 73 74 65 6d 73 20 61 |B Ram. S|ystems a|
|000008e0| 72 65 20 36 2e 30 2e 33 | 2e 0d 0d d7 20 53 70 65 |re 6.0.3|.... Spe|
|000008f0| 65 64 0d 4f 70 65 6e 20 | 50 72 6f 6c 6f 67 20 72 |ed.Open |Prolog r|
|00000900| 75 6e 73 20 74 68 65 20 | 6e 61 69 76 65 20 72 65 |uns the |naive re|
|00000910| 76 65 72 73 65 20 62 65 | 6e 63 68 6d 61 72 6b 20 |verse be|nchmark |
|00000920| 61 74 20 61 62 6f 75 74 | 20 31 39 30 30 20 4c 69 |at about| 1900 Li|
|00000930| 70 73 0d 6f 6e 20 61 20 | 4d 61 63 69 6e 74 6f 73 |ps.on a |Macintos|
|00000940| 68 20 50 6c 75 73 2e 20 | 54 68 61 74 20 6d 65 61 |h Plus. |That mea|
|00000950| 6e 73 20 74 68 61 74 20 | 69 74 27 73 20 61 62 6f |ns that |it's abo|
|00000960| 75 74 20 61 73 20 66 61 | 73 74 20 2d 20 6d 61 79 |ut as fa|st - may|
|00000970| 62 65 20 65 76 65 6e 0d | 61 20 6c 69 74 74 6c 65 |be even.|a little|
|00000980| 20 66 61 73 74 65 72 20 | 2d 20 6f 6e 20 61 20 4d | faster |- on a M|
|00000990| 61 63 20 50 6c 75 73 20 | 74 68 61 6e 20 43 2d 50 |ac Plus |than C-P|
|000009a0| 72 6f 6c 6f 67 20 6f 6e | 20 61 20 56 61 78 20 31 |rolog on| a Vax 1|
|000009b0| 31 2f 37 38 30 2e 0d 0d | d7 20 41 62 6f 75 74 20 |1/780...|. About |
|000009c0| 4f 70 65 6e 20 50 72 6f | 6c 6f 67 c9 0d 54 68 65 |Open Pro|log..The|
|000009d0| 20 27 41 62 6f 75 74 20 | 4f 70 65 6e 20 50 72 6f | 'About |Open Pro|
|000009e0| 6c 6f 67 c9 27 20 62 6f | 78 20 63 6f 6e 74 61 69 |log.' bo|x contai|
|000009f0| 6e 73 20 61 20 73 74 61 | 63 6b 73 20 69 6e 64 69 |ns a sta|cks indi|
|00000a00| 63 61 74 6f 72 20 77 68 | 69 63 68 0d 73 68 6f 77 |cator wh|ich.show|
|00000a10| 73 20 6d 65 6d 6f 72 79 | 20 73 70 61 63 65 20 62 |s memory| space b|
|00000a20| 72 6f 6b 65 6e 20 69 6e | 74 6f 0d 4e 61 6d 65 20 |roken in|to.Name |
|00000a30| 28 61 74 6f 6d 20 26 20 | 66 75 6e 63 74 6f 72 29 |(atom & |functor)|
|00000a40| 2c 20 49 6e 64 65 78 2c | 20 43 6f 64 65 2c 20 47 |, Index,| Code, G|
|00000a50| 6c 6f 62 61 6c 2c 20 4c | 6f 63 61 6c 20 26 20 54 |lobal, L|ocal & T|
|00000a60| 72 61 69 6c 20 73 70 61 | 63 65 73 2e 0d 49 74 27 |rail spa|ces..It'|
|00000a70| 73 20 70 6f 73 73 69 62 | 6c 65 20 74 6f 20 77 61 |s possib|le to wa|
|00000a80| 74 63 68 20 74 68 65 20 | 73 74 61 63 6b 73 20 67 |tch the |stacks g|
|00000a90| 72 6f 77 20 61 6e 64 20 | 63 6f 6e 74 72 61 63 74 |row and |contract|
|00000aa0| 20 61 73 20 74 68 65 20 | 70 72 6f 67 72 61 6d 20 | as the |program |
|00000ab0| 72 75 6e 73 2c 0d 62 75 | 74 20 6b 65 65 70 69 6e |runs,.bu|t keepin|
|00000ac0| 67 20 74 68 65 20 73 74 | 61 63 6b 73 20 69 6e 64 |g the st|acks ind|
|00000ad0| 69 63 61 74 6f 72 20 75 | 70 2d 74 6f 2d 64 61 74 |icator u|p-to-dat|
|00000ae0| 65 20 73 6c 6f 77 73 20 | 65 78 65 63 75 74 69 6f |e slows |executio|
|00000af0| 6e 20 71 75 69 74 65 20 | 61 20 62 69 74 21 0d 54 |n quite |a bit!.T|
|00000b00| 6f 20 61 76 6f 69 64 20 | 74 68 65 20 73 70 65 65 |o avoid |the spee|
|00000b10| 64 20 70 65 6e 61 6c 74 | 79 2c 20 69 74 27 73 20 |d penalt|y, it's |
|00000b20| 70 6f 73 73 69 62 6c 65 | 20 74 6f 20 6f 70 65 6e |possible| to open|
|00000b30| 20 61 6e 64 20 63 6c 6f | 73 65 20 74 68 65 20 62 | and clo|se the b|
|00000b40| 6f 78 20 77 68 69 6c 65 | 0d 74 68 65 20 69 6e 74 |ox while|.the int|
|00000b50| 65 72 70 72 65 74 65 72 | 20 69 73 20 72 75 6e 6e |erpreter| is runn|
|00000b60| 69 6e 67 2e 0d 41 6c 74 | 65 72 6e 61 74 69 76 65 |ing..Alt|ernative|
|00000b70| 6c 79 2c 20 68 69 64 69 | 6e 67 20 74 68 65 20 73 |ly, hidi|ng the s|
|00000b80| 74 61 63 6b 73 20 69 6e | 64 69 63 61 74 6f 72 20 |tacks in|dicator |
|00000b90| 66 75 6c 6c 79 20 69 73 | 20 6a 75 73 74 20 61 73 |fully is| just as|
|00000ba0| 20 65 66 66 65 63 74 69 | 76 65 2e 0d 0d d7 20 55 | effecti|ve.... U|
|00000bb0| 73 69 6e 67 20 4f 70 65 | 6e 20 50 72 6f 6c 6f 67 |sing Ope|n Prolog|
|00000bc0| 0d 4f 70 65 6e 20 50 72 | 6f 6c 6f 67 20 69 73 20 |.Open Pr|olog is |
|00000bd0| 61 20 74 65 78 74 2d 6f | 72 69 65 6e 74 65 64 20 |a text-o|riented |
|00000be0| 50 72 6f 6c 6f 67 2e 20 | 49 66 20 79 6f 75 27 72 |Prolog. |If you'r|
|00000bf0| 65 20 6c 6f 6f 6b 69 6e | 67 20 66 6f 72 0d 70 72 |e lookin|g for.pr|
|00000c00| 65 74 74 79 20 70 69 63 | 74 75 72 65 73 2c 20 74 |etty pic|tures, t|
|00000c10| 72 79 20 4d 61 63 50 61 | 69 6e 74 2c 20 6f 72 20 |ry MacPa|int, or |
|00000c20| 77 72 69 74 65 20 79 6f | 75 72 73 65 6c 66 20 61 |write yo|urself a|
|00000c30| 20 73 65 74 20 6f 66 0d | 65 78 74 65 72 6e 61 6c | set of.|external|
|00000c40| 20 70 72 65 64 69 63 61 | 74 65 73 2e 20 53 65 72 | predica|tes. Ser|
|00000c50| 69 6f 75 73 6c 79 2c 20 | 69 66 20 79 6f 75 20 68 |iously, |if you h|
|00000c60| 61 76 65 20 75 73 65 64 | 20 44 45 43 20 50 72 6f |ave used| DEC Pro|
|00000c70| 6c 6f 67 20 6f 72 20 43 | 2d 50 72 6f 6c 6f 67 2c |log or C|-Prolog,|
|00000c80| 0d 74 68 65 6e 20 74 68 | 65 20 73 74 79 6c 65 20 |.then th|e style |
|00000c90| 6f 66 20 75 73 65 20 6f | 66 20 4f 70 65 6e 20 50 |of use o|f Open P|
|00000ca0| 72 6f 6c 6f 67 20 69 73 | 20 71 75 69 74 65 20 73 |rolog is| quite s|
|00000cb0| 69 6d 69 6c 61 72 2e 0d | 54 68 65 20 57 6f 72 6b |imilar..|The Work|
|00000cc0| 73 68 65 65 74 20 69 73 | 20 74 68 65 20 72 6f 75 |sheet is| the rou|
|00000cd0| 67 68 20 65 71 75 69 76 | 61 6c 65 6e 74 20 6f 66 |gh equiv|alent of|
|00000ce0| 20 74 68 65 69 72 20 6c | 6f 67 20 66 69 6c 65 2e | their l|og file.|
|00000cf0| 0d 49 74 27 73 20 62 65 | 74 74 65 72 20 62 65 63 |.It's be|tter bec|
|00000d00| 61 75 73 65 20 79 6f 75 | 20 63 61 6e 20 72 65 2d |ause you| can re-|
|00000d10| 75 73 65 20 63 68 75 6e | 6b 73 20 6f 66 20 69 74 |use chun|ks of it|
|00000d20| 2e 0d 53 74 61 6e 64 61 | 72 64 20 69 6e 70 75 74 |..Standa|rd input|
|00000d30| 20 61 6e 64 20 6f 75 74 | 70 75 74 20 75 73 65 20 | and out|put use |
|00000d40| 74 68 65 20 57 6f 72 6b | 73 68 65 65 74 20 62 79 |the Work|sheet by|
|00000d50| 20 64 65 66 61 75 6c 74 | 2e 0d 0d d7 20 53 74 61 | default|.... Sta|
|00000d60| 72 74 75 70 0d 59 6f 75 | 20 63 61 6e 20 73 74 61 |rtup.You| can sta|
|00000d70| 72 74 20 4f 70 65 6e 20 | 50 72 6f 6c 6f 67 20 65 |rt Open |Prolog e|
|00000d80| 69 74 68 65 72 20 62 79 | 20 6f 70 65 6e 69 6e 67 |ither by| opening|
|00000d90| 20 73 6f 6d 65 20 6f 66 | 20 69 74 73 20 64 6f 63 | some of| its doc|
|00000da0| 75 6d 65 6e 74 73 0d 6f | 72 20 62 79 20 6f 70 65 |uments.o|r by ope|
|00000db0| 6e 69 6e 67 20 74 68 65 | 20 61 70 70 6c 69 63 61 |ning the| applica|
|00000dc0| 74 69 6f 6e 20 69 74 73 | 65 6c 66 2e 0d 0d d7 20 |tion its|elf.... |
|00000dd0| 48 6f 6d 65 20 46 6f 6c | 64 65 72 0d 54 68 65 20 |Home Fol|der.The |
|00000de0| 66 6f 6c 64 65 72 20 74 | 68 61 74 20 74 68 65 20 |folder t|hat the |
|00000df0| 57 6f 72 6b 73 68 65 65 | 74 20 69 73 20 69 6e 20 |Workshee|t is in |
|00000e00| 69 73 20 63 61 6c 6c 65 | 64 20 74 68 65 20 48 6f |is calle|d the Ho|
|00000e10| 6d 65 20 46 6f 6c 64 65 | 72 2e 0d 54 68 65 20 48 |me Folde|r..The H|
|00000e20| 6f 6d 65 20 46 6f 6c 64 | 65 72 20 69 73 20 63 68 |ome Fold|er is ch|
|00000e30| 6f 73 65 6e 20 61 75 74 | 6f 6d 61 74 69 63 61 6c |osen aut|omatical|
|00000e40| 6c 79 20 61 73 20 66 6f | 6c 6c 6f 77 73 3a 0d 49 |ly as fo|llows:.I|
|00000e50| 66 20 79 6f 75 20 73 74 | 61 72 74 20 4f 70 65 6e |f you st|art Open|
|00000e60| 20 50 72 6f 6c 6f 67 20 | 62 79 20 6f 70 65 6e 69 | Prolog |by openi|
|00000e70| 6e 67 20 73 6f 6d 65 20 | 6f 66 20 69 74 73 20 64 |ng some |of its d|
|00000e80| 6f 63 75 6d 65 6e 74 73 | 20 66 72 6f 6d 20 74 68 |ocuments| from th|
|00000e90| 65 0d 64 65 73 6b 74 6f | 70 2c 20 74 68 65 6e 20 |e.deskto|p, then |
|00000ea0| 74 68 65 20 66 6f 6c 64 | 65 72 20 74 68 65 20 64 |the fold|er the d|
|00000eb0| 6f 63 75 6d 65 6e 74 73 | 20 61 72 65 20 69 6e 20 |ocuments| are in |
|00000ec0| 62 65 63 6f 6d 65 73 20 | 74 68 65 0d 48 6f 6d 65 |becomes |the.Home|
|00000ed0| 20 46 6f 6c 64 65 72 2e | 0d 49 66 20 79 6f 75 20 | Folder.|.If you |
|00000ee0| 73 74 61 72 74 20 4f 70 | 65 6e 20 50 72 6f 6c 6f |start Op|en Prolo|
|00000ef0| 67 20 62 79 20 6f 70 65 | 6e 69 6e 67 20 69 74 20 |g by ope|ning it |
|00000f00| 64 69 72 65 63 74 6c 79 | 2c 20 74 68 65 6e 20 74 |directly|, then t|
|00000f10| 68 65 20 66 6f 6c 64 65 | 72 20 69 74 27 73 20 69 |he folde|r it's i|
|00000f20| 6e 0d 62 65 63 6f 6d 65 | 73 20 74 68 65 20 48 6f |n.become|s the Ho|
|00000f30| 6d 65 20 46 6f 6c 64 65 | 72 2e 0d 59 6f 75 20 63 |me Folde|r..You c|
|00000f40| 61 6e 20 6d 61 6b 65 20 | 61 6e 79 20 66 6f 6c 64 |an make |any fold|
|00000f50| 65 72 20 74 68 65 20 48 | 6f 6d 65 20 46 6f 6c 64 |er the H|ome Fold|
|00000f60| 65 72 20 62 79 20 73 61 | 76 69 6e 67 20 74 68 65 |er by sa|ving the|
|00000f70| 20 57 6f 72 6b 73 68 65 | 65 74 0d 69 6e 74 6f 20 | Workshe|et.into |
|00000f80| 69 74 2e 20 53 65 65 20 | 74 68 65 20 73 65 63 74 |it. See |the sect|
|00000f90| 69 6f 6e 20 6f 6e 20 66 | 69 6c 65 20 6e 61 6d 69 |ion on f|ile nami|
|00000fa0| 6e 67 20 66 6f 72 20 74 | 68 65 20 73 69 67 6e 69 |ng for t|he signi|
|00000fb0| 66 69 63 61 6e 63 65 20 | 6f 66 20 74 68 65 0d 48 |ficance |of the.H|
|00000fc0| 6f 6d 65 20 46 6f 6c 64 | 65 72 2e 0d 0d d7 20 53 |ome Fold|er.... S|
|00000fd0| 74 61 72 74 75 70 20 41 | 63 74 69 6f 6e 73 0d 42 |tartup A|ctions.B|
|00000fe0| 65 66 6f 72 65 20 6f 70 | 65 6e 69 6e 67 20 61 6e |efore op|ening an|
|00000ff0| 79 20 66 69 6c 65 73 20 | 74 68 61 74 20 79 6f 75 |y files |that you|
|00001000| 20 6d 61 79 20 68 61 76 | 65 20 73 65 6c 65 63 74 | may hav|e select|
|00001010| 65 64 20 6f 6e 20 74 68 | 65 20 64 65 73 6b 74 6f |ed on th|e deskto|
|00001020| 70 2c 0d 4f 70 65 6e 20 | 50 72 6f 6c 6f 67 20 77 |p,.Open |Prolog w|
|00001030| 69 6c 6c 20 6f 70 65 6e | 20 61 20 57 6f 72 6b 73 |ill open| a Works|
|00001040| 68 65 65 74 20 69 6e 20 | 74 68 65 20 68 6f 6d 65 |heet in |the home|
|00001050| 20 66 6f 6c 64 65 72 2c | 20 61 6c 77 61 79 73 20 | folder,| always |
|00001060| 63 61 6c 6c 65 64 0d 27 | 4f 70 65 6e 20 50 72 6f |called.'|Open Pro|
|00001070| 6c 6f 67 20 57 6f 72 6b | 73 68 65 65 74 27 2e 0d |log Work|sheet'..|
|00001080| 4f 70 65 6e 20 50 72 6f | 6c 6f 67 20 64 6f 65 73 |Open Pro|log does|
|00001090| 20 61 20 66 65 77 20 6f | 74 68 65 72 20 74 68 69 | a few o|ther thi|
|000010a0| 6e 67 73 20 61 74 20 73 | 74 61 72 74 75 70 3a 0d |ngs at s|tartup:.|
|000010b0| 49 74 20 6c 6f 6f 6b 73 | 20 69 6e 20 74 68 65 20 |It looks| in the |
|000010c0| 66 6f 6c 64 65 72 20 63 | 6f 6e 74 61 69 6e 69 6e |folder c|ontainin|
|000010d0| 67 20 4f 70 65 6e 20 50 | 72 6f 6c 6f 67 20 69 74 |g Open P|rolog it|
|000010e0| 73 65 6c 66 20 66 6f 72 | 20 61 20 66 69 6c 65 20 |self for| a file |
|000010f0| 63 61 6c 6c 65 64 0d 27 | 4f 70 65 6e 20 50 72 6f |called.'|Open Pro|
|00001100| 6c 6f 67 20 4f 70 74 69 | 6f 6e 73 27 20 61 6e 64 |log Opti|ons' and|
|00001110| 20 69 66 20 69 74 20 65 | 78 69 73 74 73 2c 20 69 | if it e|xists, i|
|00001120| 74 20 69 73 20 63 6f 6e | 73 75 6c 74 65 64 2e 0d |t is con|sulted..|
|00001130| 49 74 20 6c 6f 6f 6b 73 | 20 69 6e 20 74 68 65 20 |It looks| in the |
|00001140| 68 6f 6d 65 20 66 6f 6c | 64 65 72 20 66 6f 72 20 |home fol|der for |
|00001150| 61 20 66 69 6c 65 20 63 | 61 6c 6c 65 64 20 27 4f |a file c|alled 'O|
|00001160| 70 65 6e 20 50 72 6f 6c | 6f 67 20 53 74 61 72 74 |pen Prol|og Start|
|00001170| 75 70 27 20 61 6e 64 20 | 69 66 0d 69 74 20 65 78 |up' and |if.it ex|
|00001180| 69 73 74 73 2c 20 69 74 | 20 69 73 20 63 6f 6e 73 |ists, it| is cons|
|00001190| 75 6c 74 65 64 2e 0d 54 | 68 65 73 65 20 66 69 6c |ulted..T|hese fil|
|000011a0| 65 73 20 63 61 6e 20 62 | 65 20 75 73 65 64 20 74 |es can b|e used t|
|000011b0| 6f 20 64 6f 20 72 6f 75 | 74 69 6e 65 20 74 68 69 |o do rou|tine thi|
|000011c0| 6e 67 73 20 61 74 20 73 | 74 61 72 74 75 70 2c 20 |ngs at s|tartup, |
|000011d0| 69 66 20 64 65 73 69 72 | 65 64 2e 0d 4f 70 65 6e |if desir|ed..Open|
|000011e0| 20 50 72 6f 6c 6f 67 20 | 4f 70 74 69 6f 6e 73 20 | Prolog |Options |
|000011f0| 73 68 6f 75 6c 64 20 63 | 6f 6e 74 61 69 6e 20 67 |should c|ontain g|
|00001200| 65 6e 65 72 61 6c 6c 79 | 20 75 73 65 66 75 6c 20 |enerally| useful |
|00001210| 73 74 75 66 66 2c 20 77 | 68 65 72 65 61 73 0d 4f |stuff, w|hereas.O|
|00001220| 70 65 6e 20 50 72 6f 6c | 6f 67 20 53 74 61 72 74 |pen Prol|og Start|
|00001230| 75 70 2c 20 62 65 69 6e | 67 20 73 70 65 63 69 66 |up, bein|g specif|
|00001240| 69 63 20 74 6f 20 61 20 | 66 6f 6c 64 65 72 2c 20 |ic to a |folder, |
|00001250| 63 61 6e 20 63 6f 6e 74 | 61 69 6e 20 6d 6f 72 65 |can cont|ain more|
|00001260| 20 73 70 65 63 69 61 6c | 69 73 65 64 0d 73 74 61 | special|ised.sta|
|00001270| 72 74 75 70 20 73 74 75 | 66 66 2e 0d 46 6f 72 20 |rtup stu|ff..For |
|00001280| 65 78 61 6d 70 6c 65 2c | 20 69 6e 20 74 68 65 20 |example,| in the |
|00001290| 64 69 73 74 72 69 62 75 | 74 69 6f 6e 20 6f 66 20 |distribu|tion of |
|000012a0| 4f 70 65 6e 20 50 72 6f | 6c 6f 67 2c 20 61 20 63 |Open Pro|log, a c|
|000012b0| 6c 61 75 73 65 20 69 6e | 0d 74 68 65 20 4f 70 65 |lause in|.the Ope|
|000012c0| 6e 20 50 72 6f 6c 6f 67 | 20 53 74 61 72 74 75 70 |n Prolog| Startup|
|000012d0| 20 66 69 6c 65 20 63 68 | 65 63 6b 73 20 66 6f 72 | file ch|ecks for|
|000012e0| 20 74 68 65 20 65 78 69 | 73 74 65 6e 63 65 20 6f | the exi|stence o|
|000012f0| 66 20 74 68 69 73 20 66 | 69 6c 65 20 2d 0d 4f 70 |f this f|ile -.Op|
|00001300| 65 6e 20 50 72 6f 6c 6f | 67 20 49 6e 66 6f 20 2d |en Prolo|g Info -|
|00001310| 20 61 6e 64 20 64 69 73 | 70 6c 61 79 73 20 61 20 | and dis|plays a |
|00001320| 6d 65 73 73 61 67 65 20 | 69 6e 20 61 20 62 6f 78 |message |in a box|
|00001330| 2e 0d 54 68 65 72 65 20 | 69 73 20 61 20 75 73 65 |..There |is a use|
|00001340| 66 75 6c 20 70 72 65 64 | 69 63 61 74 65 20 64 65 |ful pred|icate de|
|00001350| 66 69 6e 65 64 20 69 6e | 20 4f 70 65 6e 20 50 72 |fined in| Open Pr|
|00001360| 6f 6c 6f 67 20 4f 70 74 | 69 6f 6e 73 20 63 61 6c |olog Opt|ions cal|
|00001370| 6c 65 64 0d 27 53 79 6e | 74 61 78 20 45 72 72 6f |led.'Syn|tax Erro|
|00001380| 72 27 2e 20 57 68 65 6e | 20 61 6e 20 65 72 72 6f |r'. When| an erro|
|00001390| 72 20 6f 63 63 75 72 73 | 20 72 65 61 64 69 6e 67 |r occurs| reading|
|000013a0| 20 66 72 6f 6d 20 61 20 | 66 69 6c 65 2c 0d 61 6e | from a |file,.an|
|000013b0| 20 65 72 72 6f 72 20 6d | 65 73 73 61 67 65 20 69 | error m|essage i|
|000013c0| 73 20 67 65 6e 65 72 61 | 74 65 64 2e 20 54 68 65 |s genera|ted. The|
|000013d0| 20 70 61 72 74 20 74 68 | 61 74 20 62 65 67 69 6e | part th|at begin|
|000013e0| 73 3a 0d 3a 2d 20 27 53 | 79 6e 74 61 78 20 45 72 |s:.:- 'S|yntax Er|
|000013f0| 72 6f 72 27 28 c9 20 0d | 63 61 6e 20 62 65 20 75 |ror'(. .|can be u|
|00001400| 73 65 64 20 74 6f 20 63 | 61 6c 6c 20 74 68 65 20 |sed to c|all the |
|00001410| 27 53 79 6e 74 61 78 20 | 45 72 72 6f 72 27 20 70 |'Syntax |Error' p|
|00001420| 72 65 64 69 63 61 74 65 | 20 64 65 66 69 6e 65 64 |redicate| defined|
|00001430| 0d 69 6e 20 4f 70 65 6e | 20 50 72 6f 6c 6f 67 20 |.in Open| Prolog |
|00001440| 4f 70 74 69 6f 6e 73 2c | 20 77 68 69 63 68 20 77 |Options,| which w|
|00001450| 69 6c 6c 20 74 72 79 20 | 74 6f 20 6f 70 65 6e 20 |ill try |to open |
|00001460| 74 68 65 20 66 69 6c 65 | 20 61 6e 64 20 73 68 6f |the file| and sho|
|00001470| 77 20 77 68 65 72 65 0d | 74 68 65 20 65 72 72 6f |w where.|the erro|
|00001480| 72 20 77 61 73 2e 20 54 | 72 79 20 69 74 20 62 79 |r was. T|ry it by|
|00001490| 20 66 69 72 73 74 20 63 | 6f 6e 73 75 6c 74 69 6e | first c|onsultin|
|000014a0| 67 20 74 68 65 20 66 69 | 6c 65 20 27 62 75 67 67 |g the fi|le 'bugg|
|000014b0| 79 20 73 79 6e 74 61 78 | 27 20 62 65 6c 6f 77 3a |y syntax|' below:|
|000014c0| 0d 0d 5b 27 62 75 67 67 | 79 20 73 79 6e 74 61 78 |..['bugg|y syntax|
|000014d0| 27 5d 2e 0d 0d 79 65 73 | 0d 0d 4f 6e 63 65 20 74 |']...yes|..Once t|
|000014e0| 68 65 20 73 74 61 72 74 | 75 70 20 70 68 61 73 65 |he start|up phase|
|000014f0| 20 69 73 20 66 69 6e 69 | 73 68 65 64 2c 20 79 6f | is fini|shed, yo|
|00001500| 75 20 61 72 65 20 66 72 | 65 65 20 74 6f 20 65 64 |u are fr|ee to ed|
|00001510| 69 74 20 74 68 65 73 65 | 20 66 69 6c 65 73 20 69 |it these| files i|
|00001520| 6e 20 74 68 65 0d 6e 6f | 72 6d 61 6c 20 77 61 79 |n the.no|rmal way|
|00001530| 20 2d 20 74 68 65 72 65 | 27 73 20 6e 6f 74 68 69 | - there|'s nothi|
|00001540| 6e 67 20 73 70 65 63 69 | 61 6c 20 61 62 6f 75 74 |ng speci|al about|
|00001550| 20 74 68 65 6d 2e 0d 0d | d7 20 55 73 61 67 65 0d | them...|. Usage.|
|00001560| 49 74 20 68 65 6c 70 73 | 20 74 6f 20 76 69 73 75 |It helps| to visu|
|00001570| 61 6c 69 73 65 20 74 68 | 65 20 73 79 73 74 65 6d |alise th|e system|
|00001580| 20 61 73 20 68 61 76 69 | 6e 67 20 74 77 6f 20 64 | as havi|ng two d|
|00001590| 69 73 74 69 6e 63 74 20 | 70 61 72 74 73 20 2d 0d |istinct |parts -.|
|000015a0| 74 68 65 20 74 65 78 74 | 20 65 64 69 74 6f 72 20 |the text| editor |
|000015b0| 61 6e 64 20 74 68 65 20 | 50 72 6f 6c 6f 67 20 69 |and the |Prolog i|
|000015c0| 6e 74 65 72 70 72 65 74 | 65 72 2e 0d 0d d7 20 54 |nterpret|er.... T|
|000015d0| 65 78 74 20 45 64 69 74 | 6f 72 0d 59 6f 75 72 20 |ext Edit|or.Your |
|000015e0| 69 6e 74 65 72 61 63 74 | 69 6f 6e 20 77 69 74 68 |interact|ion with|
|000015f0| 20 4f 70 65 6e 20 50 72 | 6f 6c 6f 67 20 69 73 20 | Open Pr|olog is |
|00001600| 76 69 61 20 74 68 65 20 | 74 65 78 74 20 65 64 69 |via the |text edi|
|00001610| 74 6f 72 2e 20 57 69 74 | 68 20 69 74 2c 20 79 6f |tor. Wit|h it, yo|
|00001620| 75 20 63 61 6e 20 64 6f | 0d 74 65 78 74 2d 65 64 |u can do|.text-ed|
|00001630| 69 74 69 6e 67 20 74 68 | 69 6e 67 73 20 6f 6e 20 |iting th|ings on |
|00001640| 74 68 65 20 57 6f 72 6b | 73 68 65 65 74 2c 20 61 |the Work|sheet, a|
|00001650| 6e 64 20 6f 6e 20 75 70 | 20 74 6f 20 73 65 76 65 |nd on up| to seve|
|00001660| 6e 20 6f 74 68 65 72 20 | 66 69 6c 65 73 2e 0d 46 |n other |files..F|
|00001670| 61 63 69 6c 69 74 69 65 | 73 20 6f 66 66 65 72 65 |acilitie|s offere|
|00001680| 64 20 61 72 65 20 73 74 | 61 6e 64 61 72 64 2e 20 |d are st|andard. |
|00001690| 57 6f 72 74 68 20 6d 65 | 6e 74 69 6f 6e 69 6e 67 |Worth me|ntioning|
|000016a0| 20 69 73 20 27 41 75 74 | 6f 2d 69 6e 64 65 6e 74 | is 'Aut|o-indent|
|000016b0| 27 0d 77 68 69 63 68 2c | 20 69 66 20 65 6e 61 62 |'.which,| if enab|
|000016c0| 6c 65 64 2c 20 77 6f 72 | 6b 73 20 62 79 20 63 6f |led, wor|ks by co|
|000016d0| 70 79 69 6e 67 20 61 6c | 6c 20 74 68 65 20 73 70 |pying al|l the sp|
|000016e0| 61 63 65 73 20 26 20 74 | 61 62 73 20 66 72 6f 6d |aces & t|abs from|
|000016f0| 20 74 68 65 20 73 74 61 | 72 74 0d 6f 66 20 74 68 | the sta|rt.of th|
|00001700| 65 20 70 72 65 76 69 6f | 75 73 20 6c 69 6e 65 20 |e previo|us line |
|00001710| 64 6f 77 6e 20 74 6f 20 | 74 68 65 20 73 74 61 72 |down to |the star|
|00001720| 74 20 6f 66 20 74 68 69 | 73 20 6c 69 6e 65 2e 20 |t of thi|s line. |
|00001730| 41 6c 73 6f 20 77 6f 72 | 74 68 20 6d 65 6e 74 69 |Also wor|th menti|
|00001740| 6f 6e 69 6e 67 20 69 73 | 0d 74 68 65 20 27 53 65 |oning is|.the 'Se|
|00001750| 61 72 63 68 20 41 6c 6c | 20 57 69 6e 64 6f 77 73 |arch All| Windows|
|00001760| 27 20 69 6e 20 74 68 65 | 20 46 69 6e 64 20 61 6e |' in the| Find an|
|00001770| 64 20 52 65 70 6c 61 63 | 65 20 6d 65 6e 75 73 2e |d Replac|e menus.|
|00001780| 20 41 6c 6c 20 77 69 6e | 64 6f 77 73 20 77 69 6c | All win|dows wil|
|00001790| 6c 0d 62 65 20 73 65 61 | 72 63 68 65 64 2c 20 69 |l.be sea|rched, i|
|000017a0| 6e 20 66 72 6f 6e 74 2d | 74 6f 2d 62 61 63 6b 20 |n front-|to-back |
|000017b0| 6f 72 64 65 72 20 75 6e | 74 69 6c 20 61 20 6d 61 |order un|til a ma|
|000017c0| 74 63 68 20 69 73 20 66 | 6f 75 6e 64 2e 20 54 68 |tch is f|ound. Th|
|000017d0| 65 20 77 69 6e 64 6f 77 | 20 69 6e 0d 77 68 69 63 |e window| in.whic|
|000017e0| 68 20 74 68 65 20 6d 61 | 74 63 68 20 69 73 20 66 |h the ma|tch is f|
|000017f0| 6f 75 6e 64 20 62 65 63 | 6f 6d 65 73 20 74 68 65 |ound bec|omes the|
|00001800| 20 66 72 6f 6e 74 20 77 | 69 6e 64 6f 77 2e 0d 41 | front w|indow..A|
|00001810| 6e 20 6f 70 65 6e 20 64 | 69 61 6d 6f 6e 64 20 2d |n open d|iamond -|
|00001820| 20 d7 20 2d 20 61 70 70 | 65 61 72 73 20 6f 70 70 | . - app|ears opp|
|00001830| 6f 73 69 74 65 20 74 68 | 65 20 6e 61 6d 65 20 6f |osite th|e name o|
|00001840| 66 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 66 72 |f the cu|rrent fr|
|00001850| 6f 6e 74 20 77 69 6e 64 | 6f 77 0d 69 6e 20 74 68 |ont wind|ow.in th|
|00001860| 65 20 57 69 6e 64 6f 77 | 20 6d 65 6e 75 2e 20 55 |e Window| menu. U|
|00001870| 6e 64 65 72 6c 69 6e 69 | 6e 67 20 69 6e 64 69 63 |nderlini|ng indic|
|00001880| 61 74 65 73 20 74 68 61 | 74 20 74 68 65 20 77 69 |ates tha|t the wi|
|00001890| 6e 64 6f 77 20 6e 65 65 | 64 73 20 74 6f 20 62 65 |ndow nee|ds to be|
|000018a0| 0d 73 61 76 65 64 20 28 | 65 69 74 68 65 72 20 69 |.saved (|either i|
|000018b0| 74 27 73 20 62 65 65 6e | 20 63 68 61 6e 67 65 64 |t's been| changed|
|000018c0| 2c 20 6f 72 20 69 74 20 | 77 61 73 20 6e 65 76 65 |, or it |was neve|
|000018d0| 72 20 73 61 76 65 64 20 | 62 65 66 6f 72 65 29 2e |r saved |before).|
|000018e0| 0d 54 68 65 20 27 44 69 | 73 70 6c 61 79 20 53 65 |.The 'Di|splay Se|
|000018f0| 6c 65 63 74 69 6f 6e 27 | 20 6d 65 6e 75 20 77 69 |lection'| menu wi|
|00001900| 6c 6c 20 73 63 72 6f 6c | 6c 20 74 68 65 20 63 61 |ll scrol|l the ca|
|00001910| 72 65 74 20 6f 72 20 74 | 68 65 20 73 65 6c 65 63 |ret or t|he selec|
|00001920| 74 65 64 20 74 65 78 74 | 20 69 6e 74 6f 0d 76 69 |ted text| into.vi|
|00001930| 65 77 2e 0d 0d d7 20 57 | 69 6e 64 6f 77 20 43 68 |ew.... W|indow Ch|
|00001940| 61 72 61 63 74 65 72 69 | 73 74 69 63 73 0d 57 68 |aracteri|stics.Wh|
|00001950| 65 6e 20 77 69 6e 64 6f | 77 73 20 61 72 65 20 6f |en windo|ws are o|
|00001960| 70 65 6e 65 64 2c 20 74 | 68 65 79 20 61 72 65 20 |pened, t|hey are |
|00001970| 6f 70 65 6e 65 64 20 69 | 6e 20 74 68 65 20 73 61 |opened i|n the sa|
|00001980| 6d 65 20 6c 6f 63 61 74 | 69 6f 6e 20 28 61 73 73 |me locat|ion (ass|
|00001990| 75 6d 69 6e 67 0d 69 74 | 27 73 20 73 74 69 6c 6c |uming.it|'s still|
|000019a0| 20 76 69 73 69 62 6c 65 | 29 2c 20 61 6e 64 20 77 | visible|), and w|
|000019b0| 69 74 68 20 74 68 65 20 | 73 61 6d 65 20 73 69 7a |ith the |same siz|
|000019c0| 65 20 61 73 20 77 68 65 | 6e 20 74 68 65 79 20 77 |e as whe|n they w|
|000019d0| 65 72 65 0d 6c 61 73 74 | 20 63 6c 6f 73 65 64 2e |ere.last| closed.|
|000019e0| 0d 4c 69 6b 65 77 69 73 | 65 2c 20 66 6f 6e 74 2c |.Likewis|e, font,|
|000019f0| 20 66 6f 6e 74 20 73 69 | 7a 65 20 61 6e 64 20 74 | font si|ze and t|
|00001a00| 68 65 20 70 6f 73 69 74 | 69 6f 6e 20 6f 66 20 74 |he posit|ion of t|
|00001a10| 68 65 20 66 6c 61 73 68 | 69 6e 67 20 63 61 72 65 |he flash|ing care|
|00001a20| 74 20 6f 72 20 73 65 6c | 65 63 74 69 6f 6e 0d 70 |t or sel|ection.p|
|00001a30| 6f 69 6e 74 20 61 72 65 | 20 72 65 73 65 74 20 74 |oint are| reset t|
|00001a40| 6f 20 74 68 65 79 20 77 | 65 72 65 20 77 68 65 6e |o they w|ere when|
|00001a50| 20 74 68 65 20 77 69 6e | 64 6f 77 20 77 61 73 20 | the win|dow was |
|00001a60| 6c 61 73 74 20 63 6c 6f | 73 65 64 2e 0d 41 20 77 |last clo|sed..A w|
|00001a70| 69 6e 64 6f 77 27 73 20 | 6d 61 78 69 6d 75 6d 20 |indow's |maximum |
|00001a80| 73 69 7a 65 20 69 66 20 | 66 69 78 65 64 20 61 63 |size if |fixed ac|
|00001a90| 63 6f 72 64 69 6e 67 20 | 74 6f 20 74 68 65 20 73 |cording |to the s|
|00001aa0| 69 7a 65 20 6f 66 20 74 | 68 65 0d 70 72 69 6e 74 |ize of t|he.print|
|00001ab0| 61 62 6c 65 20 70 61 67 | 65 20 69 6e 20 74 68 65 |able pag|e in the|
|00001ac0| 20 63 75 72 72 65 6e 74 | 6c 79 20 73 65 6c 65 63 | current|ly selec|
|00001ad0| 74 65 64 20 70 72 69 6e | 74 65 72 2e 0d 0d d7 20 |ted prin|ter.... |
|00001ae0| 4c 6f 63 6b 65 64 20 46 | 69 6c 65 73 0d 49 66 20 |Locked F|iles.If |
|00001af0| 61 20 66 69 6c 65 20 69 | 73 20 6c 6f 63 6b 65 64 |a file i|s locked|
|00001b00| 2c 20 6f 72 20 69 74 73 | 20 76 6f 6c 75 6d 65 20 |, or its| volume |
|00001b10| 69 73 20 6c 6f 63 6b 65 | 64 2c 20 74 68 65 6e 20 |is locke|d, then |
|00001b20| 61 20 73 6d 61 6c 6c 20 | 70 61 64 6c 6f 63 6b 20 |a small |padlock |
|00001b30| 69 63 6f 6e 0d 61 70 70 | 65 61 72 73 20 69 6e 20 |icon.app|ears in |
|00001b40| 74 68 65 20 62 6f 74 74 | 6f 6d 20 6c 65 66 74 20 |the bott|om left |
|00001b50| 6f 66 20 69 74 73 20 77 | 69 6e 64 6f 77 2e 20 59 |of its w|indow. Y|
|00001b60| 6f 75 20 63 61 6e 20 75 | 73 65 20 74 68 65 20 77 |ou can u|se the w|
|00001b70| 69 6e 64 6f 77 0d 61 73 | 20 6e 6f 72 6d 61 6c 2c |indow.as| normal,|
|00001b80| 20 62 75 74 20 79 6f 75 | 20 77 6f 6e 27 74 20 62 | but you| won't b|
|00001b90| 65 20 61 6c 6c 6f 77 65 | 64 20 74 6f 20 73 61 76 |e allowe|d to sav|
|00001ba0| 65 20 63 68 61 6e 67 65 | 73 20 74 6f 20 74 68 61 |e change|s to tha|
|00001bb0| 74 20 66 69 6c 65 2e 0d | 0d d7 20 57 6f 72 6b 73 |t file..|.. Works|
|00001bc0| 68 65 65 74 0d 4d 6f 73 | 74 20 6f 66 20 74 68 65 |heet.Mos|t of the|
|00001bd0| 20 74 72 61 6e 73 61 63 | 74 69 6f 6e 73 20 74 68 | transac|tions th|
|00001be0| 61 74 20 6f 63 63 75 72 | 20 62 65 74 77 65 65 6e |at occur| between|
|00001bf0| 20 79 6f 75 20 61 6e 64 | 20 4f 70 65 6e 20 50 72 | you and| Open Pr|
|00001c00| 6f 6c 6f 67 20 77 69 6c | 6c 20 62 65 0d 74 68 72 |olog wil|l be.thr|
|00001c10| 6f 75 67 68 20 61 20 77 | 69 6e 64 6f 77 2e 20 47 |ough a w|indow. G|
|00001c20| 65 6e 65 72 61 6c 6c 79 | 2c 20 79 6f 75 20 69 73 |enerally|, you is|
|00001c30| 73 75 65 20 63 6f 6d 6d | 61 6e 64 73 20 62 79 20 |sue comm|ands by |
|00001c40| 74 79 70 69 6e 67 20 74 | 68 65 6d 20 69 6e 74 6f |typing t|hem into|
|00001c50| 20 61 0d 77 69 6e 64 6f | 77 20 61 6e 64 20 74 68 | a.windo|w and th|
|00001c60| 65 6e 20 6e 6f 74 69 66 | 79 69 6e 67 20 74 68 65 |en notif|ying the|
|00001c70| 20 69 6e 74 65 72 70 72 | 65 74 65 72 20 61 62 6f | interpr|eter abo|
|00001c80| 75 74 20 74 68 65 6d 2c | 20 61 6e 64 20 4f 70 65 |ut them,| and Ope|
|00001c90| 6e 20 50 72 6f 6c 6f 67 | 20 73 65 6e 64 73 0d 72 |n Prolog| sends.r|
|00001ca0| 65 70 6c 69 65 73 20 69 | 6e 74 6f 20 74 68 65 20 |eplies i|nto the |
|00001cb0| 73 61 6d 65 20 77 69 6e | 64 6f 77 2e 0d 59 6f 75 |same win|dow..You|
|00001cc0| 20 63 61 6e 20 75 73 65 | 20 61 6e 79 20 77 69 6e | can use| any win|
|00001cd0| 64 6f 77 20 66 6f 72 20 | 74 68 69 73 2c 20 62 75 |dow for |this, bu|
|00001ce0| 74 20 74 68 65 20 57 6f | 72 6b 73 68 65 65 74 20 |t the Wo|rksheet |
|00001cf0| 77 69 6c 6c 20 62 65 20 | 63 68 6f 73 65 6e 20 62 |will be |chosen b|
|00001d00| 79 20 64 65 66 61 75 6c | 74 0d 6f 72 20 69 66 20 |y defaul|t.or if |
|00001d10| 61 6e 79 20 65 72 72 6f | 72 73 20 6f 63 63 75 72 |any erro|rs occur|
|00001d20| 20 69 6e 20 75 73 69 6e | 67 20 61 6e 6f 74 68 65 | in usin|g anothe|
|00001d30| 72 20 77 69 6e 64 6f 77 | 2e 0d 54 68 65 20 57 6f |r window|..The Wo|
|00001d40| 72 6b 73 68 65 65 74 20 | 63 61 6e 27 74 20 62 65 |rksheet |can't be|
|00001d50| 20 63 6c 6f 73 65 64 2e | 0d 0d d7 20 54 68 65 20 | closed.|... The |
|00001d60| 27 45 6e 74 65 72 27 20 | 4b 65 79 0d 54 6f 20 63 |'Enter' |Key.To c|
|00001d70| 6f 6d 6d 75 6e 69 63 61 | 74 65 20 77 69 74 68 20 |ommunica|te with |
|00001d80| 74 68 65 20 50 72 6f 6c | 6f 67 20 69 6e 74 65 72 |the Prol|og inter|
|00001d90| 70 72 65 74 65 72 2c 20 | 79 6f 75 20 6e 65 65 64 |preter, |you need|
|00001da0| 20 74 6f 20 6e 6f 74 69 | 66 79 20 69 74 20 69 6e | to noti|fy it in|
|00001db0| 20 73 6f 6d 65 0d 77 61 | 79 20 74 68 61 74 20 77 | some.wa|y that w|
|00001dc0| 68 61 74 20 79 6f 75 27 | 72 65 20 64 6f 69 6e 67 |hat you'|re doing|
|00001dd0| 20 69 73 20 6e 6f 74 20 | 6a 75 73 74 20 74 65 78 | is not |just tex|
|00001de0| 74 20 65 64 69 74 69 6e | 67 2e 20 54 68 69 73 20 |t editin|g. This |
|00001df0| 69 73 20 74 68 65 20 66 | 75 6e 63 74 69 6f 6e 20 |is the f|unction |
|00001e00| 6f 66 0d 74 68 65 20 27 | 45 6e 74 65 72 27 20 6b |of.the '|Enter' k|
|00001e10| 65 79 3a 20 61 6c 6c 20 | 69 6e 70 75 74 20 66 72 |ey: all |input fr|
|00001e20| 6f 6d 20 74 68 65 20 74 | 65 78 74 20 65 64 69 74 |om the t|ext edit|
|00001e30| 6f 72 20 74 6f 20 74 68 | 65 20 69 6e 74 65 72 70 |or to th|e interp|
|00001e40| 72 65 74 65 72 0d 69 73 | 20 64 65 6e 6f 74 65 64 |reter.is| denoted|
|00001e50| 20 62 79 20 73 65 6c 65 | 63 74 69 6e 67 20 74 68 | by sele|cting th|
|00001e60| 65 20 74 65 78 74 20 61 | 6e 64 20 74 79 70 69 6e |e text a|nd typin|
|00001e70| 67 20 74 68 65 20 3c 45 | 4e 54 45 52 3e 20 6b 65 |g the <E|NTER> ke|
|00001e80| 79 2e 0d 28 54 68 69 73 | 20 69 73 20 73 69 6d 69 |y..(This| is simi|
|00001e90| 6c 61 72 20 74 6f 20 74 | 68 65 20 61 72 72 61 6e |lar to t|he arran|
|00001ea0| 67 65 6d 65 6e 74 20 69 | 6e 20 41 70 70 6c 65 27 |gement i|n Apple'|
|00001eb0| 73 20 65 78 63 65 6c 6c | 65 6e 74 20 4d 50 57 29 |s excell|ent MPW)|
|00001ec0| 2e 0d 0d 46 6f 72 20 65 | 78 61 6d 70 6c 65 2c 20 |...For e|xample, |
|00001ed0| 62 65 6c 6f 77 20 69 73 | 20 74 68 65 20 74 65 78 |below is| the tex|
|00001ee0| 74 20 6f 66 20 61 20 63 | 6f 6d 6d 61 6e 64 20 74 |t of a c|ommand t|
|00001ef0| 6f 20 63 6f 6e 73 75 6c | 74 20 74 68 65 20 66 69 |o consul|t the fi|
|00001f00| 6c 65 20 27 62 65 6e 63 | 68 6d 61 72 6b 73 27 2e |le 'benc|hmarks'.|
|00001f10| 0d 54 6f 20 69 6e 70 75 | 74 20 69 74 20 74 6f 20 |.To inpu|t it to |
|00001f20| 74 68 65 20 69 6e 74 65 | 72 70 72 65 74 65 72 2c |the inte|rpreter,|
|00001f30| 20 20 73 65 6c 65 63 74 | 20 69 74 20 28 69 6e 63 | select| it (inc|
|00001f40| 6c 75 64 65 20 74 68 65 | 20 66 75 6c 6c 20 73 74 |lude the| full st|
|00001f50| 6f 70 29 20 61 6e 64 0d | 74 79 70 65 20 3c 45 4e |op) and.|type <EN|
|00001f60| 54 45 52 3e 3a 0d 0d 5b | 62 65 6e 63 68 6d 61 72 |TER>:..[|benchmar|
|00001f70| 6b 73 5d 2e 0d 0d 41 63 | 74 75 61 6c 6c 79 2c 20 |ks]...Ac|tually, |
|00001f80| 79 6f 75 20 64 6f 6e 27 | 74 20 61 6c 77 61 79 73 |you don'|t always|
|00001f90| 20 68 61 76 65 20 74 6f | 20 73 65 6c 65 63 74 20 | have to| select |
|00001fa0| 74 68 65 20 77 68 6f 6c | 65 20 74 68 69 6e 67 3b |the whol|e thing;|
|00001fb0| 20 69 66 20 74 68 65 20 | 74 65 78 74 0d 6f 63 63 | if the |text.occ|
|00001fc0| 75 70 69 65 73 20 6f 6e | 6c 79 20 6f 6e 65 20 6c |upies on|ly one l|
|00001fd0| 69 6e 65 2c 20 70 6f 73 | 69 74 69 6f 6e 20 74 68 |ine, pos|ition th|
|00001fe0| 65 20 63 75 72 73 6f 72 | 20 61 6e 79 77 68 65 72 |e cursor| anywher|
|00001ff0| 65 20 61 6c 6f 6e 67 20 | 69 74 20 61 6e 64 20 74 |e along |it and t|
|00002000| 79 70 65 20 3c 45 4e 54 | 45 52 3e 2e 0d 54 68 65 |ype <ENT|ER>..The|
|00002010| 20 77 68 6f 6c 65 20 6c | 69 6e 65 20 77 69 6c 6c | whole l|ine will|
|00002020| 20 74 68 65 6e 20 62 65 | 20 74 61 6b 65 6e 20 61 | then be| taken a|
|00002030| 73 20 74 68 65 20 74 65 | 78 74 2e 20 54 68 69 73 |s the te|xt. This|
|00002040| 20 69 73 20 63 61 6c 6c | 65 64 0d 27 73 69 6e 67 | is call|ed.'sing|
|00002050| 6c 65 20 6c 69 6e 65 20 | 73 65 6c 65 63 74 69 6f |le line |selectio|
|00002060| 6e 27 2e 0d 0d 52 65 6d | 65 6d 62 65 72 20 61 6c |n'...Rem|ember al|
|00002070| 73 6f 20 74 68 61 74 20 | 79 6f 75 20 75 73 65 20 |so that |you use |
|00002080| 74 68 65 20 3c 45 4e 54 | 45 52 3e 20 6b 65 79 20 |the <ENT|ER> key |
|00002090| 74 6f 20 64 65 6e 6f 74 | 65 20 61 6e 79 20 69 6e |to denot|e any in|
|000020a0| 70 75 74 20 74 6f 20 74 | 68 65 0d 69 6e 74 65 72 |put to t|he.inter|
|000020b0| 70 72 65 74 65 72 2c 20 | 6e 6f 74 20 6a 75 73 74 |preter, |not just|
|000020c0| 20 63 6f 6d 6d 61 6e 64 | 20 69 6e 70 75 74 2e 0d | command| input..|
|000020d0| 0d 54 72 79 20 65 76 61 | 6c 75 61 74 69 6e 67 20 |.Try eva|luating |
|000020e0| 74 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 20 71 75 |the foll|owing qu|
|000020f0| 65 72 79 20 62 79 20 73 | 69 6e 67 6c 65 2d 6c 69 |ery by s|ingle-li|
|00002100| 6e 65 2d 73 65 6c 65 63 | 74 69 6e 67 20 69 74 2e |ne-selec|ting it.|
|00002110| 0d 59 6f 75 27 6c 6c 20 | 6e 65 65 64 20 74 6f 20 |.You'll |need to |
|00002120| 70 72 6f 76 69 64 65 20 | 61 20 66 75 72 74 68 65 |provide |a furthe|
|00002130| 72 20 69 6e 70 75 74 20 | 69 6e 20 72 65 73 70 6f |r input |in respo|
|00002140| 6e 73 65 3b 20 61 67 61 | 69 6e 2c 20 79 6f 75 0d |nse; aga|in, you.|
|00002150| 63 61 6e 20 75 73 65 20 | 73 69 6e 67 6c 65 20 6c |can use |single l|
|00002160| 69 6e 65 20 73 65 6c 65 | 63 74 69 6f 6e 2e 20 41 |ine sele|ction. A|
|00002170| 6c 73 6f 2c 20 72 65 6d | 65 6d 62 65 72 20 74 68 |lso, rem|ember th|
|00002180| 65 20 66 75 6c 6c 20 73 | 74 6f 70 20 61 66 74 65 |e full s|top afte|
|00002190| 72 0d 74 68 65 20 74 65 | 72 6d 3a 0d 0d 77 72 69 |r.the te|rm:..wri|
|000021a0| 74 65 28 27 50 6c 65 61 | 73 65 20 65 6e 74 65 72 |te('Plea|se enter|
|000021b0| 20 61 20 50 72 6f 6c 6f | 67 20 74 65 72 6d 3a 20 | a Prolo|g term: |
|000021c0| 27 29 2c 72 65 61 64 28 | 54 65 72 6d 29 2c 77 72 |'),read(|Term),wr|
|000021d0| 69 74 65 28 27 49 74 27 | 27 73 3a 20 27 29 2c 77 |ite('It'|'s: '),w|
|000021e0| 72 69 74 65 28 54 65 72 | 6d 29 2e 0d 0d 41 73 20 |rite(Ter|m)...As |
|000021f0| 69 73 20 6e 6f 72 6d 61 | 6c 20 6f 6e 20 44 45 43 |is norma|l on DEC|
|00002200| 20 50 72 6f 6c 6f 67 2c | 20 77 68 65 72 65 20 76 | Prolog,| where v|
|00002210| 61 72 69 61 62 6c 65 20 | 62 69 6e 64 69 6e 67 73 |ariable |bindings|
|00002220| 20 61 72 65 20 67 69 76 | 65 6e 20 61 73 20 70 61 | are giv|en as pa|
|00002230| 72 74 0d 6f 66 20 74 68 | 65 20 72 65 73 75 6c 74 |rt.of th|e result|
|00002240| 20 6f 66 20 61 20 71 75 | 65 72 79 2c 20 74 68 65 | of a qu|ery, the|
|00002250| 20 73 79 73 74 65 6d 20 | 77 61 69 74 73 20 66 6f | system |waits fo|
|00002260| 72 20 63 6f 6e 66 69 72 | 6d 61 74 69 6f 6e 20 2d |r confir|mation -|
|00002270| 20 74 79 70 65 20 74 68 | 65 0d 3c 45 4e 54 45 52 | type th|e.<ENTER|
|00002280| 3e 20 6b 65 79 20 2d 20 | 6f 72 20 61 20 72 65 71 |> key - |or a req|
|00002290| 75 65 73 74 20 66 6f 72 | 20 61 20 72 65 74 72 79 |uest for| a retry|
|000022a0| 20 2d 20 74 79 70 65 20 | 61 20 73 65 6d 69 63 6f | - type |a semico|
|000022b0| 6c 6f 6e 20 61 6e 64 20 | 20 74 68 65 20 3c 45 4e |lon and | the <EN|
|000022c0| 54 45 52 3e 20 6b 65 79 | 2e 0d 0d d7 20 50 72 6f |TER> key|.... Pro|
|000022d0| 6d 70 74 73 0d 54 68 65 | 20 3f 2d 20 70 72 6f 6d |mpts.The| ?- prom|
|000022e0| 70 74 2c 20 66 61 6d 69 | 6c 69 61 72 20 74 6f 20 |pt, fami|liar to |
|000022f0| 6d 61 6e 79 20 50 72 6f | 6c 6f 67 20 75 73 65 72 |many Pro|log user|
|00002300| 73 2c 20 69 73 20 6e 6f | 20 6c 6f 6e 67 65 72 20 |s, is no| longer |
|00002310| 6e 65 63 65 73 73 61 72 | 79 2c 20 61 6e 64 0d 69 |necessar|y, and.i|
|00002320| 74 73 20 69 6e 63 6c 75 | 73 69 6f 6e 20 77 6f 75 |ts inclu|sion wou|
|00002330| 6c 64 20 63 61 75 73 65 | 20 6d 61 6e 79 20 69 6d |ld cause| many im|
|00002340| 70 6c 65 6d 65 6e 74 61 | 74 69 6f 6e 20 68 65 61 |plementa|tion hea|
|00002350| 64 61 63 68 65 73 2e 0d | 49 6e 20 66 61 63 74 2c |daches..|In fact,|
|00002360| 20 61 6c 6c 20 70 72 6f | 6d 70 74 73 2c 20 62 65 | all pro|mpts, be|
|00002370| 69 6e 67 20 69 6e 68 65 | 72 65 6e 74 6c 79 20 6c |ing inhe|rently l|
|00002380| 69 6e 65 2d 6f 72 69 65 | 6e 74 65 64 2c 20 61 72 |ine-orie|nted, ar|
|00002390| 65 20 67 6f 6e 65 20 66 | 72 6f 6d 20 74 68 65 0d |e gone f|rom the.|
|000023a0| 73 63 72 65 65 6e 2e 20 | 49 6e 73 74 65 61 64 2c |screen. |Instead,|
|000023b0| 20 77 65 20 68 6f 70 65 | 20 74 6f 20 70 75 74 20 | we hope| to put |
|000023c0| 61 20 27 73 74 61 74 75 | 73 20 62 61 72 27 20 69 |a 'statu|s bar' i|
|000023d0| 6e 20 74 68 65 20 62 6f | 74 74 6f 6d 20 6f 66 20 |n the bo|ttom of |
|000023e0| 74 68 65 20 57 6f 72 6b | 73 68 65 65 74 0d 77 69 |the Work|sheet.wi|
|000023f0| 6e 64 6f 77 20 69 6e 20 | 74 68 65 20 66 75 74 75 |ndow in |the futu|
|00002400| 72 65 2e 0d 49 66 20 79 | 6f 75 20 77 69 73 68 2c |re..If y|ou wish,|
|00002410| 20 79 6f 75 20 63 61 6e | 20 65 6e 74 65 72 20 61 | you can| enter a|
|00002420| 20 71 75 65 72 79 20 70 | 72 65 63 65 64 65 64 20 | query p|receded |
|00002430| 62 79 20 61 20 3f 2d 20 | 20 2d 20 69 74 20 77 6f |by a ?- | - it wo|
|00002440| 6e 27 74 20 6d 61 6b 65 | 20 61 6e 79 0d 64 69 66 |n't make| any.dif|
|00002450| 66 65 72 65 6e 63 65 2e | 20 49 66 20 79 6f 75 20 |ference.| If you |
|00002460| 70 72 65 63 65 64 65 20 | 79 6f 75 72 20 71 75 65 |precede |your que|
|00002470| 72 79 20 62 79 20 61 20 | 3a 2d 20 74 68 65 6e 20 |ry by a |:- then |
|00002480| 69 74 20 77 69 6c 6c 20 | 62 65 20 70 65 72 66 6f |it will |be perfo|
|00002490| 72 6d 65 64 20 77 69 74 | 68 6f 75 74 20 72 65 74 |rmed wit|hout ret|
|000024a0| 75 72 6e 69 6e 67 20 74 | 68 65 20 76 61 72 69 61 |urning t|he varia|
|000024b0| 62 6c 65 20 62 69 6e 64 | 69 6e 67 73 2e 0d 0d 45 |ble bind|ings...E|
|000024c0| 78 61 6d 70 6c 65 73 3a | 0d 3f 2d 20 77 72 69 74 |xamples:|.?- writ|
|000024d0| 65 28 48 29 2e 0d 3a 2d | 20 77 72 69 74 65 28 48 |e(H)..:-| write(H|
|000024e0| 29 2c 6e 6c 2e 0d 0d 0d | d7 20 43 6f 6d 6d 65 6e |),nl....|. Commen|
|000024f0| 74 20 6f 6e 20 3c 45 4e | 54 45 52 3e 20 26 20 50 |t on <EN|TER> & P|
|00002500| 72 6f 6d 70 74 73 0d 55 | 73 69 6e 67 20 74 68 65 |rompts.U|sing the|
|00002510| 20 3c 45 4e 54 45 52 3e | 20 6b 65 79 20 74 6f 20 | <ENTER>| key to |
|00002520| 64 65 6e 6f 74 65 20 69 | 6e 70 75 74 20 74 6f 20 |denote i|nput to |
|00002530| 74 68 65 20 69 6e 74 65 | 72 70 72 65 74 65 72 20 |the inte|rpreter |
|00002540| 68 61 73 20 6d 61 6e 79 | 20 61 64 76 61 6e 74 61 |has many| advanta|
|00002550| 67 65 73 2c 0d 61 6c 74 | 68 6f 75 67 68 20 69 74 |ges,.alt|hough it|
|00002560| 27 73 20 70 72 6f 62 61 | 62 6c 79 20 61 20 62 69 |'s proba|bly a bi|
|00002570| 74 20 61 6e 6e 6f 79 69 | 6e 67 20 74 6f 20 67 65 |t annoyi|ng to ge|
|00002580| 74 20 75 73 65 64 20 74 | 6f 2e 20 4c 69 6b 65 77 |t used t|o. Likew|
|00002590| 69 73 65 2c 20 74 68 65 | 20 6c 61 63 6b 20 6f 66 |ise, the| lack of|
|000025a0| 0d 61 20 70 72 6f 6d 70 | 74 20 6d 61 79 20 62 65 |.a promp|t may be|
|000025b0| 20 61 20 62 69 74 20 64 | 69 73 6f 72 69 65 6e 74 | a bit d|isorient|
|000025c0| 69 6e 67 2e 0d 54 68 65 | 20 70 72 69 6e 63 69 70 |ing..The| princip|
|000025d0| 61 6c 20 61 64 76 61 6e | 74 61 67 65 20 6f 66 20 |al advan|tage of |
|000025e0| 74 68 65 73 65 20 63 68 | 61 6e 67 65 73 20 69 73 |these ch|anges is|
|000025f0| 20 74 68 61 74 20 79 6f | 75 20 63 61 6e 20 64 6f | that yo|u can do|
|00002600| 20 73 74 61 6e 64 61 72 | 64 0d 74 65 78 74 2d 65 | standar|d.text-e|
|00002610| 64 69 74 69 6e 67 20 66 | 72 65 65 6c 79 20 61 6e |diting f|reely an|
|00002620| 64 20 79 6f 75 20 63 61 | 6e 20 75 73 65 20 61 6e |d you ca|n use an|
|00002630| 79 20 70 61 72 74 20 6f | 66 20 74 68 65 20 57 6f |y part o|f the Wo|
|00002640| 72 6b 73 68 65 65 74 20 | 61 73 0d 61 20 73 6f 75 |rksheet |as.a sou|
|00002650| 72 63 65 20 6f 66 20 69 | 6e 70 75 74 2e 20 49 6e |rce of i|nput. In|
|00002660| 20 6f 74 68 65 72 20 77 | 6f 72 64 73 2c 20 79 6f | other w|ords, yo|
|00002670| 75 20 63 61 6e 20 72 65 | 2d 75 73 65 20 74 65 78 |u can re|-use tex|
|00002680| 74 20 6f 6e 20 74 68 65 | 20 57 6f 72 6b 73 68 65 |t on the| Workshe|
|00002690| 65 74 0d 6f 76 65 72 20 | 61 6e 64 20 6f 76 65 72 |et.over |and over|
|000026a0| 2e 0d 0d d7 20 44 75 72 | 69 6e 67 20 45 76 61 6c |.... Dur|ing Eval|
|000026b0| 75 61 74 69 6f 6e 0d 57 | 68 65 6e 20 4f 70 65 6e |uation.W|hen Open|
|000026c0| 20 50 72 6f 6c 6f 67 20 | 69 73 20 64 6f 69 6e 67 | Prolog |is doing|
|000026d0| 20 61 20 6c 6f 6e 67 20 | 65 76 61 6c 75 61 74 69 | a long |evaluati|
|000026e0| 6f 6e 2c 20 69 74 27 73 | 20 73 74 69 6c 6c 20 70 |on, it's| still p|
|000026f0| 6f 73 73 69 62 6c 65 20 | 74 6f 20 75 73 65 20 74 |ossible |to use t|
|00002700| 68 65 0d 74 65 78 74 20 | 65 64 69 74 6f 72 20 69 |he.text |editor i|
|00002710| 6e 20 77 69 6e 64 6f 77 | 73 20 6f 74 68 65 72 20 |n window|s other |
|00002720| 74 68 61 6e 20 74 68 65 | 20 57 6f 72 6b 73 68 65 |than the| Workshe|
|00002730| 65 74 2e 20 54 68 65 20 | 73 79 73 74 65 6d 20 77 |et. The |system w|
|00002740| 69 6c 6c 20 73 68 61 72 | 65 0d 74 68 65 20 70 72 |ill shar|e.the pr|
|00002750| 6f 63 65 73 73 6f 72 20 | 62 65 74 77 65 65 6e 20 |ocessor |between |
|00002760| 74 68 65 20 69 6e 74 65 | 72 70 72 65 74 65 72 20 |the inte|rpreter |
|00002770| 61 6e 64 20 74 68 65 20 | 74 65 78 74 20 65 64 69 |and the |text edi|
|00002780| 74 6f 72 2e 0d 47 65 6e | 65 72 61 6c 6c 79 2c 20 |tor..Gen|erally, |
|00002790| 79 6f 75 20 77 6f 6e 27 | 74 20 6e 6f 74 69 63 65 |you won'|t notice|
|000027a0| 20 74 68 65 20 73 68 61 | 72 69 6e 67 20 62 65 69 | the sha|ring bei|
|000027b0| 6e 67 20 64 6f 6e 65 2e | 0d 4f 63 63 61 73 69 6f |ng done.|.Occasio|
|000027c0| 6e 61 6c 6c 79 2c 20 68 | 6f 77 65 76 65 72 2c 20 |nally, h|owever, |
|000027d0| 64 65 70 65 6e 64 69 6e | 67 20 6f 6e 20 74 68 65 |dependin|g on the|
|000027e0| 20 65 76 61 6c 75 61 74 | 69 6f 6e 20 62 65 69 6e | evaluat|ion bein|
|000027f0| 67 20 64 6f 6e 65 2c 0d | 74 68 65 20 69 6e 74 65 |g done,.|the inte|
|00002800| 72 70 72 65 74 65 72 20 | 77 69 6c 6c 20 6b 65 65 |rpreter |will kee|
|00002810| 70 20 74 68 65 20 70 72 | 6f 63 65 73 73 6f 72 20 |p the pr|ocessor |
|00002820| 66 6f 72 20 61 20 66 65 | 77 0d 73 65 63 6f 6e 64 |for a fe|w.second|
|00002830| 73 20 74 6f 20 64 6f 20 | 67 61 72 62 61 67 65 20 |s to do |garbage |
|00002840| 63 6f 6c 6c 65 63 74 69 | 6f 6e 2c 20 6f 72 20 49 |collecti|on, or I|
|00002850| 2f 4f 2e 20 44 75 72 69 | 6e 67 20 74 68 61 74 20 |/O. Duri|ng that |
|00002860| 74 69 6d 65 20 74 68 65 | 20 74 65 78 74 20 65 64 |time the| text ed|
|00002870| 69 74 6f 72 0d 77 69 6c | 6c 20 27 66 72 65 65 7a |itor.wil|l 'freez|
|00002880| 65 27 20 61 6e 64 20 77 | 6f 6e 27 74 20 72 65 73 |e' and w|on't res|
|00002890| 70 6f 6e 64 20 74 6f 20 | 74 68 65 20 6b 65 79 62 |pond to |the keyb|
|000028a0| 6f 61 72 64 20 6f 72 20 | 6f 74 68 65 72 20 75 73 |oard or |other us|
|000028b0| 65 72 20 69 6e 70 75 74 | 2e 20 54 68 69 73 0d 69 |er input|. This.i|
|000028c0| 73 20 6e 6f 72 6d 61 6c | 20 61 6e 64 20 69 73 20 |s normal| and is |
|000028d0| 6e 6f 20 63 61 75 73 65 | 20 66 6f 72 20 63 6f 6e |no cause| for con|
|000028e0| 63 65 72 6e 2e 0d 0d 50 | 6c 65 61 73 65 20 62 65 |cern...P|lease be|
|000028f0| 20 63 61 72 65 66 75 6c | 20 74 6f 20 73 61 76 65 | careful| to save|
|00002900| 20 79 6f 75 72 20 77 6f | 72 6b 20 66 72 65 71 75 | your wo|rk frequ|
|00002910| 65 6e 74 6c 79 20 69 6e | 20 74 68 69 73 20 6d 6f |ently in| this mo|
|00002920| 64 65 2c 0d 62 65 63 61 | 75 73 65 20 69 66 20 74 |de,.beca|use if t|
|00002930| 68 65 20 65 76 61 6c 75 | 61 74 69 6f 6e 20 63 61 |he evalu|ation ca|
|00002940| 75 73 65 73 20 4f 70 65 | 6e 20 50 72 6f 6c 6f 67 |uses Ope|n Prolog|
|00002950| 20 74 6f 20 63 72 61 73 | 68 2c 20 0d 79 6f 75 72 | to cras|h, .your|
|00002960| 20 77 6f 72 6b 20 6d 61 | 79 20 62 65 20 6c 6f 73 | work ma|y be los|
|00002970| 74 2e 20 0d 0d d7 20 53 | 74 6f 70 70 69 6e 67 20 |t. ... S|topping |
|00002980| 61 6e 20 45 76 61 6c 75 | 61 74 69 6f 6e 0d 54 68 |an Evalu|ation.Th|
|00002990| 65 20 73 74 61 6e 64 61 | 72 64 20 27 43 6f 6d 6d |e standa|rd 'Comm|
|000029a0| 61 6e 64 2d 2e 27 20 77 | 69 6c 6c 20 68 61 6c 74 |and-.' w|ill halt|
|000029b0| 20 61 20 50 72 6f 6c 6f | 67 20 65 76 61 6c 75 61 | a Prolo|g evalua|
|000029c0| 74 69 6f 6e 20 28 65 76 | 65 6e 74 75 61 6c 6c 79 |tion (ev|entually|
|000029d0| 21 29 2e 0d 0d d7 20 42 | 61 63 6b 67 72 6f 75 6e |!).... B|ackgroun|
|000029e0| 64 20 4f 70 65 72 61 74 | 69 6f 6e 0d 4f 70 65 6e |d Operat|ion.Open|
|000029f0| 20 50 72 6f 6c 6f 67 20 | 69 73 20 4d 75 6c 74 69 | Prolog |is Multi|
|00002a00| 66 69 6e 64 65 72 20 27 | 66 72 69 65 6e 64 6c 79 |finder '|friendly|
|00002a10| 27 20 61 6e 64 20 77 69 | 6c 6c 20 72 75 6e 20 69 |' and wi|ll run i|
|00002a20| 6e 20 74 68 65 20 4d 75 | 6c 74 69 66 69 6e 64 65 |n the Mu|ltifinde|
|00002a30| 72 20 0d 62 61 63 6b 67 | 72 6f 75 6e 64 2e 20 54 |r .backg|round. T|
|00002a40| 68 69 73 20 6d 61 79 20 | 62 65 20 75 73 65 66 75 |his may |be usefu|
|00002a50| 6c 20 66 6f 72 20 6c 6f | 6e 67 20 65 76 61 6c 75 |l for lo|ng evalu|
|00002a60| 61 74 69 6f 6e 73 2e 20 | 52 75 6e 6e 69 6e 67 20 |ations. |Running |
|00002a70| 75 6e 64 65 72 20 53 79 | 73 74 65 6d 20 37 2c 0d |under Sy|stem 7,.|
|00002a80| 69 74 20 63 61 6e 20 62 | 65 20 68 69 64 64 65 6e |it can b|e hidden|
|00002a90| 20 61 6e 64 20 73 74 69 | 6c 6c 20 62 65 20 72 75 | and sti|ll be ru|
|00002aa0| 6e 6e 69 6e 67 2e 0d 0d | d7 20 42 75 69 6c 74 2d |nning...|. Built-|
|00002ab0| 49 6e 20 50 72 65 64 69 | 63 61 74 65 73 0d 54 6f |In Predi|cates.To|
|00002ac0| 20 67 65 74 20 61 20 6c | 69 73 74 20 6f 66 20 61 | get a l|ist of a|
|00002ad0| 6c 6c 20 70 72 65 64 69 | 63 61 74 65 73 20 2d 20 |ll predi|cates - |
|00002ae0| 6e 6f 72 6d 61 6c 2c 20 | 62 75 69 6c 74 2d 69 6e |normal, |built-in|
|00002af0| 20 61 6e 64 20 65 78 74 | 65 72 6e 61 6c 2c 0d 74 | and ext|ernal,.t|
|00002b00| 68 65 72 65 20 66 6f 6c | 6c 6f 77 73 20 61 20 73 |here fol|lows a s|
|00002b10| 65 71 75 65 6e 63 65 20 | 6f 66 20 63 6f 6d 6d 61 |equence |of comma|
|00002b20| 6e 64 73 20 74 6f 20 70 | 65 72 66 6f 72 6d 2e 0d |nds to p|erform..|
|00002b30| 53 65 6c 65 63 74 20 74 | 68 65 6d 20 61 6c 6c 20 |Select t|hem all |
|00002b40| 61 6e 64 20 68 69 74 20 | 74 68 65 20 3c 45 4e 54 |and hit |the <ENT|
|00002b50| 45 52 3e 20 6b 65 79 3a | 0d 0d 27 73 79 73 74 65 |ER> key:|..'syste|
|00002b60| 6d 24 70 72 65 64 69 63 | 61 74 65 27 28 58 2c 59 |m$predic|ate'(X,Y|
|00002b70| 2c 5a 29 2c 66 75 6e 63 | 74 6f 72 28 59 2c 58 2c |,Z),func|tor(Y,X,|
|00002b80| 41 29 2c 0d 77 72 69 74 | 65 71 28 58 29 2c 77 72 |A),.writ|eq(X),wr|
|00002b90| 69 74 65 28 27 2f 27 29 | 2c 77 72 69 74 65 28 41 |ite('/')|,write(A|
|00002ba0| 29 2c 77 72 69 74 65 28 | 2e 29 2c 77 72 69 74 65 |),write(|.),write|
|00002bb0| 28 27 20 20 20 25 20 27 | 29 2c 77 72 69 74 65 28 |(' % '|),write(|
|00002bc0| 5a 29 2c 6e 6c 2c 66 61 | 69 6c 2e 0d 0d 4e 6f 74 |Z),nl,fa|il...Not|
|00002bd0| 65 3a 20 77 69 74 68 20 | 61 20 66 65 77 20 65 78 |e: with |a few ex|
|00002be0| 63 65 70 74 69 6f 6e 73 | 2c 20 79 6f 75 20 73 68 |ceptions|, you sh|
|00002bf0| 6f 75 6c 64 20 73 74 61 | 79 20 61 77 61 79 20 66 |ould sta|y away f|
|00002c00| 72 6f 6d 0d 61 6e 79 74 | 68 69 6e 67 20 77 69 74 |rom.anyt|hing wit|
|00002c10| 68 20 61 20 24 20 69 6e | 20 69 74 2c 20 6f 72 20 |h a $ in| it, or |
|00002c20| 61 6e 79 74 68 69 6e 67 | 20 77 69 74 68 20 74 68 |anything| with th|
|00002c30| 65 20 77 6f 72 64 20 27 | 73 79 73 74 65 6d 27 20 |e word '|system' |
|00002c40| 69 6e 20 69 74 20 2d 20 | 79 6f 75 0d 6d 61 79 20 |in it - |you.may |
|00002c50| 65 6e 64 20 75 70 20 63 | 72 61 73 68 69 6e 67 20 |end up c|rashing |
|00002c60| 74 68 65 20 70 72 6f 67 | 72 61 6d 2e 0d 0d 54 68 |the prog|ram...Th|
|00002c70| 65 20 66 69 6c 65 20 27 | 4f 70 65 6e 20 50 72 6f |e file '|Open Pro|
|00002c80| 6c 6f 67 20 45 78 74 72 | 61 73 27 20 68 61 73 20 |log Extr|as' has |
|00002c90| 6d 6f 72 65 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |more inf|ormation|
|00002ca0| 20 61 62 6f 75 74 0d 74 | 68 65 20 6e 6f 6e 2d 73 | about.t|he non-s|
|00002cb0| 74 61 6e 64 61 72 64 20 | 70 72 65 64 69 63 61 74 |tandard |predicat|
|00002cc0| 65 73 2e 0d 0d d7 20 52 | 65 64 65 66 69 6e 69 6e |es.... R|edefinin|
|00002cd0| 67 20 42 75 69 6c 74 2d | 49 6e 20 50 72 65 64 69 |g Built-|In Predi|
|00002ce0| 63 61 74 65 73 0d 4f 70 | 65 6e 20 50 72 6f 6c 6f |cates.Op|en Prolo|
|00002cf0| 67 20 6d 69 73 62 65 68 | 61 76 65 73 20 69 66 20 |g misbeh|aves if |
|00002d00| 79 6f 75 20 74 72 79 20 | 74 6f 20 72 65 64 65 66 |you try |to redef|
|00002d10| 69 6e 65 20 61 6e 79 20 | 62 75 69 6c 74 2d 69 6e |ine any |built-in|
|00002d20| 73 20 6f 72 20 65 78 74 | 65 72 6e 61 6c 73 2e 0d |s or ext|ernals..|
|00002d30| 0d d7 20 41 72 69 74 68 | 6d 65 74 69 63 0d 41 72 |.. Arith|metic.Ar|
|00002d40| 69 74 68 6d 65 74 69 63 | 20 69 73 20 73 74 61 6e |ithmetic| is stan|
|00002d50| 64 61 72 64 20 33 32 2d | 62 69 74 20 69 6e 74 65 |dard 32-|bit inte|
|00002d60| 67 65 72 20 61 72 69 74 | 68 6d 65 74 69 63 2e 20 |ger arit|hmetic. |
|00002d70| 54 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 0d 70 72 |The foll|owing.pr|
|00002d80| 65 64 65 66 69 6e 65 64 | 20 66 75 6e 63 74 69 6f |edefined| functio|
|00002d90| 6e 73 20 61 72 65 20 70 | 72 6f 76 69 64 65 64 3a |ns are p|rovided:|
|00002da0| 0d 75 6e 61 72 79 20 6d | 69 6e 75 73 3a 20 2d 20 |.unary m|inus: - |
|00002db0| 0d 73 75 62 74 72 61 63 | 74 69 6f 6e 3a 20 2d 20 |.subtrac|tion: - |
|00002dc0| 0d 61 64 64 69 74 69 6f | 6e 3a 20 2b 0d 6d 75 6c |.additio|n: +.mul|
|00002dd0| 74 69 70 6c 69 63 61 74 | 69 6f 6e 3a 20 2a 0d 69 |tiplicat|ion: *.i|
|00002de0| 6e 74 65 67 65 72 20 64 | 69 76 69 73 69 6f 6e 3a |nteger d|ivision:|
|00002df0| 20 2f 0d 6d 6f 64 20 28 | 72 65 6d 61 69 6e 64 65 | /.mod (|remainde|
|00002e00| 72 29 3a 20 6d 6f 64 0d | 62 69 74 77 69 73 65 20 |r): mod.|bitwise |
|00002e10| 61 6e 64 3a 20 2f 5c 0d | 62 69 74 77 69 73 65 20 |and: /\.|bitwise |
|00002e20| 6f 72 3a 20 5c 2f 0d 62 | 69 74 77 69 73 65 20 6e |or: \/.b|itwise n|
|00002e30| 6f 74 3a 20 7e 0d 62 69 | 74 77 69 73 65 20 6c 65 |ot: ~.bi|twise le|
|00002e40| 66 74 73 68 69 66 74 3a | 20 3c 3c 0d 62 69 74 77 |ftshift:| <<.bitw|
|00002e50| 69 73 65 20 72 69 67 68 | 74 73 68 69 66 74 3a 20 |ise righ|tshift: |
|00002e60| 3e 3e 0d 6d 61 78 69 6d | 75 6d 20 69 6e 74 65 67 |>>.maxim|um integ|
|00002e70| 65 72 3a 20 20 6d 61 78 | 69 6e 74 0d 6d 69 6e 69 |er: max|int.mini|
|00002e80| 6d 75 6d 20 69 6e 74 65 | 67 65 72 3a 20 6d 69 6e |mum inte|ger: min|
|00002e90| 69 6e 74 0d 74 69 6d 65 | 3a 20 20 63 70 75 74 69 |int.time|: cputi|
|00002ea0| 6d 65 0d 54 68 65 20 66 | 75 6e 63 74 69 6f 6e 20 |me.The f|unction |
|00002eb0| 27 63 70 75 74 69 6d 65 | 27 20 67 69 76 65 73 20 |'cputime|' gives |
|00002ec0| 74 68 65 20 74 69 6d 65 | 20 69 6e 20 6d 69 6c 6c |the time| in mill|
|00002ed0| 69 73 65 63 6f 6e 64 73 | 20 73 69 6e 63 65 20 73 |iseconds| since s|
|00002ee0| 79 73 74 65 6d 20 73 74 | 61 72 74 75 70 0d 77 69 |ystem st|artup.wi|
|00002ef0| 74 68 20 61 20 73 68 6f | 72 74 2d 74 65 72 6d 20 |th a sho|rt-term |
|00002f00| 67 72 61 6e 75 6c 61 72 | 69 74 79 20 6f 66 20 61 |granular|ity of a|
|00002f10| 70 70 72 6f 78 69 6d 61 | 74 65 6c 79 20 31 36 20 |pproxima|tely 16 |
|00002f20| 6d 53 20 28 6f 6e 65 20 | 73 79 73 74 65 6d 20 27 |mS (one |system '|
|00002f30| 74 69 63 6b 27 29 2e 0d | 55 73 65 20 74 68 65 20 |tick')..|Use the |
|00002f40| 62 75 69 6c 74 2d 69 6e | 20 70 72 6f 63 65 64 75 |built-in| procedu|
|00002f50| 72 65 20 27 73 79 73 74 | 65 6d 24 73 65 63 6f 6e |re 'syst|em$secon|
|00002f60| 64 73 27 28 53 65 63 6f | 6e 64 73 29 20 66 6f 72 |ds'(Seco|nds) for|
|00002f70| 20 6d 6f 72 65 0d 61 63 | 63 75 72 61 74 65 20 74 | more.ac|curate t|
|00002f80| 69 6d 69 6e 67 20 6f 66 | 20 6c 6f 6e 67 20 69 6e |iming of| long in|
|00002f90| 74 65 72 76 61 6c 73 2e | 0d 0d d7 20 4f 70 65 72 |tervals.|... Oper|
|00002fa0| 61 74 6f 72 73 0d 54 68 | 65 20 73 74 61 6e 64 61 |ators.Th|e standa|
|00002fb0| 72 64 20 44 45 43 20 50 | 72 6f 6c 6f 67 20 6f 70 |rd DEC P|rolog op|
|00002fc0| 65 72 61 74 6f 72 20 64 | 65 66 69 6e 69 74 69 6f |erator d|efinitio|
|00002fd0| 6e 73 20 61 72 65 20 6d | 61 64 65 20 61 74 20 73 |ns are m|ade at s|
|00002fe0| 74 61 72 74 75 70 2e 0d | 59 6f 75 20 63 61 6e 20 |tartup..|You can |
|00002ff0| 67 65 74 20 61 20 6c 69 | 73 74 20 6f 66 20 6f 70 |get a li|st of op|
|00003000| 65 72 61 74 6f 72 20 64 | 65 66 69 6e 69 74 69 6f |erator d|efinitio|
|00003010| 6e 73 20 62 79 20 65 76 | 61 6c 75 61 74 69 6e 67 |ns by ev|aluating|
|00003020| 20 74 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 71 | the fol|lowing q|
|00003030| 75 65 72 79 2e 0d 0d 63 | 75 72 72 65 6e 74 5f 6f |uery...c|urrent_o|
|00003040| 70 28 58 2c 59 2c 5a 29 | 2c 77 72 69 74 65 28 6f |p(X,Y,Z)|,write(o|
|00003050| 70 28 58 2c 59 2c 5a 29 | 29 2c 77 72 69 74 65 28 |p(X,Y,Z)|),write(|
|00003060| 27 2e 27 29 2c 6e 6c 2c | 66 61 69 6c 2e 0d 0d d7 |'.'),nl,|fail....|
|00003070| 20 45 78 74 65 6e 64 65 | 64 20 43 68 61 72 61 63 | Extende|d Charac|
|00003080| 74 65 72 20 53 65 74 0d | 54 68 65 20 66 75 6c 6c |ter Set.|The full|
|00003090| 20 6c 61 73 65 72 2d 70 | 72 69 6e 74 65 72 20 63 | laser-p|rinter c|
|000030a0| 68 61 72 61 63 74 65 72 | 20 73 65 74 20 28 65 2e |haracter| set (e.|
|000030b0| 67 2e 20 54 69 6d 65 73 | 29 2c 20 77 68 69 63 68 |g. Times|), which|
|000030c0| 20 68 61 73 20 6d 6f 72 | 65 0d 63 68 61 72 61 63 | has mor|e.charac|
|000030d0| 74 65 72 73 20 74 68 61 | 6e 20 74 68 65 20 6f 72 |ters tha|n the or|
|000030e0| 69 67 69 6e 61 6c 20 73 | 74 61 6e 64 61 72 64 20 |iginal s|tandard |
|000030f0| 63 68 61 72 61 63 74 65 | 72 20 73 65 74 73 20 6c |characte|r sets l|
|00003100| 69 6b 65 20 43 68 69 63 | 61 67 6f 2c 0d 69 73 20 |ike Chic|ago,.is |
|00003110| 61 73 73 75 6d 65 64 20 | 68 65 72 65 2e 0d 0d 41 |assumed |here...A|
|00003120| 63 63 65 6e 74 65 64 20 | 63 68 61 72 61 63 74 65 |ccented |characte|
|00003130| 72 73 20 61 72 65 20 74 | 72 65 61 74 65 64 20 61 |rs are t|reated a|
|00003140| 73 20 61 6c 70 68 61 62 | 65 74 69 63 2c 20 73 6f |s alphab|etic, so|
|00003150| 20 61 74 6f 6d 73 20 63 | 6f 6e 74 61 69 6e 69 6e | atoms c|ontainin|
|00003160| 67 0d 61 63 63 65 6e 74 | 65 64 20 63 68 61 72 61 |g.accent|ed chara|
|00003170| 63 74 65 72 73 20 64 6f | 6e 27 74 20 6e 65 65 64 |cters do|n't need|
|00003180| 20 74 6f 20 62 65 20 70 | 75 74 20 69 6e 20 71 75 | to be p|ut in qu|
|00003190| 6f 74 65 73 2e 0d 0d 54 | 68 75 73 20 74 68 65 20 |otes...T|hus the |
|000031a0| 66 6f 6c 6c 6f 77 69 6e | 67 20 69 73 20 6c 65 67 |followin|g is leg|
|000031b0| 61 6c 3a 0d 0d 58 8a 76 | 69 65 72 20 3d 20 6e 97 |al:..X.v|ier = n.|
|000031c0| 69 72 92 6e 2b 6a 9f 72 | 67 65 6e 2b 83 63 6f 6c |ir.n+j.r|gen+.col|
|000031d0| 65 2b 67 72 8f 76 65 2b | 64 61 9b 2b 8d 65 64 69 |e+gr.ve+|da.+.edi|
|000031e0| 6c 6c 61 2b 66 6f 72 90 | 74 2e 0d 0d d7 20 53 6f |lla+for.|t.... So|
|000031f0| 72 74 69 6e 67 0d 53 6f | 72 74 69 6e 67 20 69 73 |rting.So|rting is|
|00003200| 20 70 65 72 66 6f 72 6d | 65 64 20 62 79 20 74 68 | perform|ed by th|
|00003210| 65 20 4d 61 63 27 73 20 | 49 6e 74 65 72 6e 61 74 |e Mac's |Internat|
|00003220| 69 6f 6e 61 6c 20 55 74 | 69 6c 69 74 69 65 73 2c |ional Ut|ilities,|
|00003230| 20 77 68 69 63 68 0d 73 | 68 6f 75 6c 64 20 68 61 | which.s|hould ha|
|00003240| 6e 64 6c 65 20 61 63 63 | 65 6e 74 65 64 20 63 68 |ndle acc|ented ch|
|00003250| 61 72 61 63 74 65 72 73 | 20 63 6f 72 72 65 63 74 |aracters| correct|
|00003260| 6c 79 2e 0d 4e 6f 74 65 | 20 74 68 61 74 20 63 61 |ly..Note| that ca|
|00003270| 73 65 20 69 73 20 69 67 | 6e 6f 72 65 64 20 77 68 |se is ig|nored wh|
|00003280| 65 6e 20 73 6f 72 74 69 | 6e 67 20 66 75 6e 63 74 |en sorti|ng funct|
|00003290| 6f 72 20 6f 72 20 61 74 | 6f 6d 20 6e 61 6d 65 73 |or or at|om names|
|000032a0| 2e 0d 0d d7 20 46 69 6c | 65 73 0d 54 68 65 20 66 |.... Fil|es.The f|
|000032b0| 69 6c 65 2d 68 61 6e 64 | 6c 69 6e 67 20 61 72 72 |ile-hand|ling arr|
|000032c0| 61 6e 67 65 6d 65 6e 74 | 73 20 61 72 65 20 65 73 |angement|s are es|
|000032d0| 73 65 6e 74 69 61 6c 6c | 79 20 75 6e 63 68 61 6e |sentiall|y unchan|
|000032e0| 67 65 64 20 66 72 6f 6d | 20 44 45 43 20 50 72 6f |ged from| DEC Pro|
|000032f0| 6c 6f 67 2c 0d 65 78 63 | 65 70 74 20 77 68 65 72 |log,.exc|ept wher|
|00003300| 65 20 6f 62 76 69 6f 75 | 73 6c 79 20 6e 65 63 65 |e obviou|sly nece|
|00003310| 73 73 61 72 79 2e 20 53 | 6f 6d 65 20 62 75 69 6c |ssary. S|ome buil|
|00003320| 74 2d 69 6e 20 70 72 65 | 64 69 63 61 74 65 73 20 |t-in pre|dicates |
|00003330| 68 61 76 65 20 62 65 65 | 6e 0d 6f 6d 69 74 74 65 |have bee|n.omitte|
|00003340| 64 2c 20 6e 6f 74 61 62 | 6c 79 20 27 63 6c 6f 73 |d, notab|ly 'clos|
|00003350| 65 2f 31 27 20 61 6e 64 | 20 27 66 69 6c 65 45 72 |e/1' and| 'fileEr|
|00003360| 72 6f 72 73 27 20 26 20 | 27 6e 6f 66 69 6c 65 65 |rors' & |'nofilee|
|00003370| 72 72 6f 72 73 27 2e 0d | 0d d7 20 46 69 6c 65 20 |rrors'..|.. File |
|00003380| 4e 61 6d 69 6e 67 0d 46 | 69 6c 65 20 6e 61 6d 69 |Naming.F|ile nami|
|00003390| 6e 67 20 66 6f 6c 6c 6f | 77 73 20 73 74 61 6e 64 |ng follo|ws stand|
|000033a0| 61 72 64 20 4d 61 63 20 | 70 72 61 63 74 69 63 65 |ard Mac |practice|
|000033b0| 2e 20 54 6f 20 73 70 65 | 63 69 66 79 20 61 20 66 |. To spe|cify a f|
|000033c0| 69 6c 65 20 69 6e 20 74 | 68 65 0d 68 6f 6d 65 20 |ile in t|he.home |
|000033d0| 66 6f 6c 64 65 72 2c 20 | 6a 75 73 74 20 67 69 76 |folder, |just giv|
|000033e0| 65 20 69 74 73 20 6e 61 | 6d 65 20 28 61 73 20 27 |e its na|me (as '|
|000033f0| 62 65 6e 63 68 6d 61 72 | 6b 73 27 20 61 62 6f 76 |benchmar|ks' abov|
|00003400| 65 29 2e 0d 0d 49 66 20 | 69 74 27 73 20 69 6e 20 |e)...If |it's in |
|00003410| 61 6e 6f 74 68 65 72 20 | 66 6f 6c 64 65 72 2c 20 |another |folder, |
|00003420| 79 6f 75 20 63 61 6e 20 | 67 69 76 65 20 69 74 73 |you can |give its|
|00003430| 20 66 75 6c 6c 20 70 61 | 74 68 6e 61 6d 65 2e 20 | full pa|thname. |
|00003440| 46 6f 72 20 65 78 61 6d | 70 6c 65 2c 20 74 6f 20 |For exam|ple, to |
|00003450| 0d 63 6f 6e 73 75 6c 74 | 20 61 20 66 69 6c 65 20 |.consult| a file |
|00003460| 63 61 6c 6c 65 64 20 27 | 55 74 69 6c 69 74 69 65 |called '|Utilitie|
|00003470| 73 27 20 6f 6e 20 61 20 | 64 69 73 6b 20 6f 72 20 |s' on a |disk or |
|00003480| 76 6f 6c 75 6d 65 20 63 | 61 6c 6c 65 64 20 27 4f |volume c|alled 'O|
|00003490| 70 65 6e 20 50 72 6f 6c | 6f 67 20 44 69 73 6b 27 |pen Prol|og Disk'|
|000034a0| 0d 69 6e 20 61 20 66 6f | 6c 64 65 72 20 63 61 6c |.in a fo|lder cal|
|000034b0| 6c 65 64 20 27 53 61 6d | 70 6c 65 73 27 20 79 6f |led 'Sam|ples' yo|
|000034c0| 75 20 63 6f 75 6c 64 20 | 75 73 65 3a 0d 0d 5b 27 |u could |use:..['|
|000034d0| 4f 70 65 6e 20 50 72 6f | 6c 6f 67 20 44 69 73 6b |Open Pro|log Disk|
|000034e0| 3a 53 61 6d 70 6c 65 73 | 3a 55 74 69 6c 69 74 69 |:Samples|:Utiliti|
|000034f0| 65 73 27 5d 2e 0d 0d 41 | 6c 74 65 72 6e 61 74 69 |es']...A|lternati|
|00003500| 76 65 6c 79 2c 20 79 6f | 75 20 63 61 6e 20 73 70 |vely, yo|u can sp|
|00003510| 65 63 69 66 79 20 61 20 | 66 69 6c 65 20 62 79 20 |ecify a |file by |
|00003520| 69 74 73 20 70 61 72 74 | 69 61 6c 20 70 61 74 68 |its part|ial path|
|00003530| 6e 61 6d 65 20 28 69 2e | 65 2e 20 74 68 65 20 65 |name (i.|e. the e|
|00003540| 78 74 72 61 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |xtra inf|ormation|
|00003550| 20 6e 65 65 64 65 64 20 | 74 6f 20 27 67 65 74 20 | needed |to 'get |
|00003560| 66 72 6f 6d 27 20 74 68 | 65 20 48 6f 6d 65 20 46 |from' th|e Home F|
|00003570| 6f 6c 64 65 72 20 74 6f | 20 74 68 65 72 65 29 2e |older to| there).|
|00003580| 0d 46 6f 72 20 69 6e 73 | 74 61 6e 63 65 2c 20 6f |.For ins|tance, o|
|00003590| 6e 20 74 68 69 73 20 72 | 65 6c 65 61 73 65 20 64 |n this r|elease d|
|000035a0| 69 73 6b 20 79 6f 75 20 | 63 61 6e 20 75 73 65 20 |isk you |can use |
|000035b0| 74 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 20 74 6f |the foll|owing to|
|000035c0| 20 63 6f 6e 73 75 6c 74 | 0d 74 68 65 20 66 69 6c | consult|.the fil|
|000035d0| 65 20 27 54 61 6b 27 20 | 69 6e 20 74 68 65 20 66 |e 'Tak' |in the f|
|000035e0| 6f 6c 64 65 72 20 27 53 | 61 6d 70 6c 65 73 27 20 |older 'S|amples' |
|000035f0| 77 68 69 63 68 20 69 73 | 20 69 6e 20 74 68 65 20 |which is| in the |
|00003600| 48 6f 6d 65 20 46 6f 6c | 64 65 72 3a 0d 0d 5b 27 |Home Fol|der:..['|
|00003610| 3a 53 61 6d 70 6c 65 73 | 3a 54 61 6b 27 5d 2e 0d |:Samples|:Tak']..|
|00003620| 0d d7 20 45 6e 64 20 6f | 66 20 46 69 6c 65 20 26 |.. End o|f File &|
|00003630| 20 45 6e 64 20 6f 66 20 | 4c 69 6e 65 0d 2d 09 45 | End of |Line.-.E|
|00003640| 6e 64 20 6f 66 20 6c 69 | 6e 65 20 26 20 65 6e 64 |nd of li|ne & end|
|00003650| 20 6f 66 20 66 69 6c 65 | 20 74 72 65 61 74 6d 65 | of file| treatme|
|00003660| 6e 74 20 69 73 20 74 68 | 65 20 73 61 6d 65 20 61 |nt is th|e same a|
|00003670| 73 20 69 6e 20 44 45 43 | 20 50 72 6f 6c 6f 67 2e |s in DEC| Prolog.|
|00003680| 0d 2d 09 57 68 65 6e 20 | 72 65 61 64 69 6e 67 20 |.-.When |reading |
|00003690| 66 72 6f 6d 20 61 20 66 | 69 6c 65 2c 20 74 68 65 |from a f|ile, the|
|000036a0| 20 6c 61 73 74 20 74 65 | 72 6d 20 69 73 20 61 6c | last te|rm is al|
|000036b0| 77 61 79 73 20 27 65 6e | 64 5f 6f 66 5f 66 69 6c |ways 'en|d_of_fil|
|000036c0| 65 27 2e 0d 2d 09 57 68 | 65 6e 20 67 65 74 2d 69 |e'..-.Wh|en get-i|
|000036d0| 6e 67 20 6f 72 20 67 65 | 74 30 2d 69 6e 67 20 66 |ng or ge|t0-ing f|
|000036e0| 72 6f 6d 20 61 20 66 69 | 6c 65 2c 20 74 68 65 20 |rom a fi|le, the |
|000036f0| 6c 61 73 74 20 63 68 61 | 72 61 63 74 65 72 20 69 |last cha|racter i|
|00003700| 73 20 63 6f 64 65 20 32 | 36 2e 0d 2e 09 43 61 72 |s code 2|6....Car|
|00003710| 72 69 61 67 65 20 52 65 | 74 75 72 6e 73 20 28 41 |riage Re|turns (A|
|00003720| 53 43 49 49 20 63 6f 64 | 65 20 31 33 29 2c 20 67 |SCII cod|e 13), g|
|00003730| 65 6e 65 72 61 6c 6c 79 | 20 73 69 67 6e 69 66 79 |enerally| signify|
|00003740| 69 6e 67 20 65 6e 64 2d | 6f 66 2d 6c 69 6e 65 20 |ing end-|of-line |
|00003750| 69 6e 20 61 20 66 69 6c | 65 2c 0d 61 72 65 20 66 |in a fil|e,.are f|
|00003760| 69 6c 74 65 72 65 64 20 | 6f 75 74 20 6f 66 20 74 |iltered |out of t|
|00003770| 68 65 20 67 65 74 20 6f | 72 20 67 65 74 30 20 73 |he get o|r get0 s|
|00003780| 74 72 65 61 6d 20 61 6e | 64 20 72 65 70 6c 61 63 |tream an|d replac|
|00003790| 65 64 20 62 79 20 63 6f | 64 65 20 33 31 2e 0d 0d |ed by co|de 31...|
|000037a0| 49 6e 70 75 74 20 66 72 | 6f 6d 20 61 20 77 69 6e |Input fr|om a win|
|000037b0| 64 6f 77 20 6e 65 76 65 | 72 20 72 65 73 75 6c 74 |dow neve|r result|
|000037c0| 73 20 69 6e 20 61 6e 20 | 65 6e 64 20 6f 66 20 66 |s in an |end of f|
|000037d0| 69 6c 65 20 63 6f 6e 64 | 69 74 69 6f 6e 2e 0d 0d |ile cond|ition...|
|000037e0| d7 20 6e 6c 0d 2d 09 6e | 6c 20 6f 75 74 70 75 74 |. nl.-.n|l output|
|000037f0| 73 20 61 20 43 61 72 72 | 69 61 67 65 20 52 65 74 |s a Carr|iage Ret|
|00003800| 75 72 6e 20 28 41 53 43 | 49 49 20 63 6f 64 65 20 |urn (ASC|II code |
|00003810| 31 33 29 2e 0d 0d d7 20 | 67 65 74 20 26 20 67 65 |13).... |get & ge|
|00003820| 74 30 0d 2d 09 67 65 74 | 20 26 20 67 65 74 30 20 |t0.-.get| & get0 |
|00003830| 61 6c 77 61 79 73 20 72 | 65 74 75 72 6e 20 74 68 |always r|eturn th|
|00003840| 65 20 6e 65 78 74 20 63 | 68 61 72 61 63 74 65 72 |e next c|haracter|
|00003850| 2c 20 69 72 72 65 73 70 | 65 63 74 69 76 65 20 6f |, irresp|ective o|
|00003860| 66 20 77 68 65 74 68 65 | 72 20 69 74 20 69 73 0d |f whethe|r it is.|
|00003870| 27 70 72 69 6e 74 61 62 | 6c 65 27 20 6f 72 20 6e |'printab|le' or n|
|00003880| 6f 74 2e 0d 0d d7 20 44 | 65 62 75 67 67 69 6e 67 |ot.... D|ebugging|
|00003890| 0d 54 68 65 20 6d 61 69 | 6e 20 50 72 6f 67 72 61 |.The mai|n Progra|
|000038a0| 6d 20 44 65 62 75 67 67 | 69 6e 67 20 66 61 63 69 |m Debugg|ing faci|
|000038b0| 6c 69 74 79 20 69 73 20 | 74 68 65 20 74 72 61 63 |lity is |the trac|
|000038c0| 65 2f 31 20 70 72 65 64 | 69 63 61 74 65 2e 0d 59 |e/1 pred|icate..Y|
|000038d0| 6f 75 20 63 61 6e 20 74 | 72 61 63 65 20 74 68 65 |ou can t|race the|
|000038e0| 20 65 78 65 63 75 74 69 | 6f 6e 20 6f 66 20 61 20 | executi|on of a |
|000038f0| 70 72 65 64 69 63 61 74 | 65 20 62 79 20 63 61 6c |predicat|e by cal|
|00003900| 6c 69 6e 67 20 69 74 20 | 76 69 61 20 74 72 61 63 |ling it |via trac|
|00003910| 65 3a 0d 0d 25 61 73 73 | 75 6d 69 6e 67 20 79 6f |e:..%ass|uming yo|
|00003920| 75 27 76 65 20 61 6c 72 | 65 61 64 79 20 63 6f 6e |u've alr|eady con|
|00003930| 73 75 6c 74 65 64 20 27 | 74 61 6b 27 20 61 62 6f |sulted '|tak' abo|
|00003940| 76 65 c9 0d 0d 74 72 61 | 63 65 28 74 61 6b 28 31 |ve...tra|ce(tak(1|
|00003950| 32 2c 38 2c 34 2c 4e 29 | 29 2e 0d 0d 54 68 65 20 |2,8,4,N)|)...The |
|00003960| 63 6f 6d 6d 61 6e 64 73 | 20 61 76 61 69 6c 61 62 |commands| availab|
|00003970| 6c 65 20 61 72 65 3a 0d | 3c 45 4e 54 45 52 3e 20 |le are:.|<ENTER> |
|00003980| 2d 20 74 72 61 63 65 0d | 73 3c 45 4e 54 45 52 3e |- trace.|s<ENTER>|
|00003990| 20 2d 20 73 74 65 70 20 | 6f 76 65 72 0d 61 3c 45 | - step |over.a<E|
|000039a0| 4e 54 45 52 3e 20 2d 20 | 61 62 6f 72 74 0d 66 3c |NTER> - |abort.f<|
|000039b0| 45 4e 54 45 52 3e 20 2d | 20 66 61 69 6c 0d 40 3c |ENTER> -| fail.@<|
|000039c0| 45 4e 54 45 52 3e 20 2d | 20 62 72 65 61 6b 20 66 |ENTER> -| break f|
|000039d0| 6f 72 20 6f 6e 65 20 63 | 6f 6d 6d 61 6e 64 0d 0d |or one c|ommand..|
|000039e0| 49 74 27 73 20 6e 6f 74 | 20 70 6f 73 73 69 62 6c |It's not| possibl|
|000039f0| 65 20 74 6f 20 73 70 79 | 2e 0d 0d 54 68 65 20 75 |e to spy|...The u|
|00003a00| 6e 6b 6e 6f 77 6e 2f 32 | 20 70 72 65 64 69 63 61 |nknown/2| predica|
|00003a10| 74 65 20 73 70 65 63 69 | 66 69 65 73 20 77 68 61 |te speci|fies wha|
|00003a20| 74 20 68 61 70 70 65 6e | 73 20 77 68 65 6e 20 61 |t happen|s when a|
|00003a30| 20 63 61 6c 6c 20 69 73 | 20 6d 61 64 65 0d 74 6f | call is| made.to|
|00003a40| 20 61 6e 20 75 6e 6b 6e | 6f 77 6e 20 70 72 65 64 | an unkn|own pred|
|00003a50| 69 63 61 74 65 2e 20 28 | 41 6c 6c 6f 77 61 62 6c |icate. (|Allowabl|
|00003a60| 65 20 76 61 6c 75 65 73 | 20 61 72 65 20 66 61 69 |e values| are fai|
|00003a70| 6c 20 6f 72 20 74 72 61 | 63 65 2e 29 0d 0d 45 2e |l or tra|ce.)..E.|
|00003a80| 67 2e 2c 20 73 65 6c 65 | 63 74 3a 0d 0d 75 6e 6b |g., sele|ct:..unk|
|00003a90| 6e 6f 77 6e 28 58 2c 74 | 72 61 63 65 29 2e 0d 0d |nown(X,t|race)...|
|00003aa0| 54 68 69 73 20 77 69 6c | 6c 20 73 65 74 20 4f 70 |This wil|l set Op|
|00003ab0| 65 6e 20 50 72 6f 6c 6f | 67 20 74 6f 20 61 62 6f |en Prolo|g to abo|
|00003ac0| 72 74 20 77 68 65 6e 20 | 61 6e 20 75 6e 6b 6e 6f |rt when |an unkno|
|00003ad0| 77 6e 20 63 61 6c 6c 20 | 69 73 20 6d 61 64 65 2e |wn call |is made.|
|00003ae0| 0d 0d 54 72 79 20 69 74 | 20 6e 6f 77 20 62 79 20 |..Try it| now by |
|00003af0| 73 65 6c 65 63 74 69 6e | 67 3a 0d 0d 68 75 68 28 |selectin|g:..huh(|
|00003b00| 57 68 61 74 29 2e 0d 0d | 41 20 73 6e 61 7a 7a 79 |What)...|A snazzy|
|00003b10| 20 73 6f 75 72 63 65 2d | 6c 65 76 65 6c 20 64 65 | source-|level de|
|00003b20| 62 75 67 67 65 72 2c 20 | 61 20 6c 88 20 53 41 44 |bugger, |a l. SAD|
|00003b30| 45 2c 20 69 73 20 75 6e | 64 65 72 20 64 65 76 65 |E, is un|der deve|
|00003b40| 6c 6f 70 6d 65 6e 74 2e | 0d 0d d7 20 53 79 73 74 |lopment.|... Syst|
|00003b50| 65 6d 20 45 72 72 6f 72 | 20 4d 65 73 73 61 67 65 |em Error| Message|
|00003b60| 73 3a 0d 54 68 65 72 65 | 20 61 72 65 20 74 68 72 |s:.There| are thr|
|00003b70| 65 65 20 6b 69 6e 64 73 | 20 6f 66 20 65 72 72 6f |ee kinds| of erro|
|00003b80| 72 20 6d 65 73 73 61 67 | 65 73 3a 0d 41 2e 20 41 |r messag|es:.A. A|
|00003b90| 20 73 69 6d 70 6c 65 20 | 69 6e 66 6f 72 6d 61 74 | simple |informat|
|00003ba0| 69 6f 6e 20 62 6f 78 20 | 77 69 74 68 20 27 4f 4b |ion box |with 'OK|
|00003bb0| 27 20 61 73 20 74 68 65 | 20 6f 6e 6c 79 20 6f 70 |' as the| only op|
|00003bc0| 74 69 6f 6e 2e 0d 42 2e | 20 41 20 27 44 69 61 67 |tion..B.| A 'Diag|
|00003bd0| 6e 6f 73 74 69 63 27 20 | 6f 72 20 27 42 72 65 61 |nostic' |or 'Brea|
|00003be0| 6b 70 6f 69 6e 74 65 72 | 27 20 69 6e 66 6f 72 6d |kpointer|' inform|
|00003bf0| 61 74 69 6f 6e 20 62 6f | 78 2e 0d 54 68 69 73 20 |ation bo|x..This |
|00003c00| 69 73 20 69 6e 74 65 6e | 64 65 64 20 66 6f 72 20 |is inten|ded for |
|00003c10| 67 69 76 69 6e 67 20 64 | 65 62 75 67 67 69 6e 67 |giving d|ebugging|
|00003c20| 0d 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 2c 20 61 6e |.informa|tion, an|
|00003c30| 64 20 69 66 20 69 74 20 | 74 75 72 6e 73 20 75 70 |d if it |turns up|
|00003c40| 20 69 6e 20 6e 6f 72 6d | 61 6c 20 6f 70 65 72 61 | in norm|al opera|
|00003c50| 74 69 6f 6e 20 69 74 20 | 6d 65 61 6e 73 20 74 68 |tion it |means th|
|00003c60| 61 74 20 61 20 73 70 65 | 63 69 61 6c 0d 63 6f 6e |at a spe|cial.con|
|00003c70| 64 69 74 69 6f 6e 20 68 | 61 73 20 6f 63 63 75 72 |dition h|as occur|
|00003c80| 65 64 2e 20 0d 43 2e 20 | 57 68 65 6e 65 76 65 72 |ed. .C. |Whenever|
|00003c90| 20 4f 70 65 6e 20 50 72 | 6f 6c 6f 67 20 64 65 74 | Open Pr|olog det|
|00003ca0| 65 63 74 73 20 61 20 73 | 79 73 74 65 6d 20 65 72 |ects a s|ystem er|
|00003cb0| 72 6f 72 2c 20 69 74 20 | 77 69 6c 6c 20 77 61 72 |ror, it |will war|
|00003cc0| 6e 20 79 6f 75 20 61 62 | 6f 75 74 20 69 74 2e 0d |n you ab|out it..|
|00003cd0| 59 6f 75 20 61 72 65 20 | 67 65 6e 65 72 61 6c 6c |You are |generall|
|00003ce0| 79 20 67 69 76 65 6e 20 | 73 6f 6d 65 20 69 6e 66 |y given |some inf|
|00003cf0| 6f 72 6d 61 74 69 6f 6e | 20 61 62 6f 75 74 20 74 |ormation| about t|
|00003d00| 68 65 20 73 6f 75 72 63 | 65 20 61 6e 64 20 6b 69 |he sourc|e and ki|
|00003d10| 6e 64 20 6f 66 20 74 68 | 65 0d 65 72 72 6f 72 2e |nd of th|e.error.|
|00003d20| 20 4e 61 74 75 72 61 6c | 6c 79 2c 20 69 74 20 69 | Natural|ly, it i|
|00003d30| 73 6e 27 74 20 61 6c 77 | 61 79 73 20 70 6f 73 73 |sn't alw|ays poss|
|00003d40| 69 62 6c 65 20 74 6f 20 | 70 72 65 64 69 63 74 20 |ible to |predict |
|00003d50| 77 68 61 74 20 77 69 6c | 6c 20 68 61 70 70 65 6e |what wil|l happen|
|00003d60| 0d 69 66 20 79 6f 75 20 | 63 6f 6e 74 69 6e 75 65 |.if you |continue|
|00003d70| 20 6f 70 65 72 61 74 69 | 6e 67 20 74 68 65 20 73 | operati|ng the s|
|00003d80| 79 73 74 65 6d 2e 0d 0d | 53 75 6d 6d 61 72 69 73 |ystem...|Summaris|
|00003d90| 69 6e 67 3a 20 57 68 65 | 6e 20 79 6f 75 20 67 65 |ing: Whe|n you ge|
|00003da0| 74 20 61 6e 20 65 72 72 | 6f 72 20 6d 65 73 73 61 |t an err|or messa|
|00003db0| 67 65 2c 0d 69 66 20 79 | 6f 75 20 61 72 65 20 67 |ge,.if y|ou are g|
|00003dc0| 69 76 65 6e 20 61 20 63 | 68 6f 69 63 65 2c 20 69 |iven a c|hoice, i|
|00003dd0| 74 27 73 20 62 65 73 74 | 20 28 69 6e 69 74 69 61 |t's best| (initia|
|00003de0| 6c 6c 79 29 20 74 6f 20 | 65 78 69 74 2e 0d 59 6f |lly) to |exit..Yo|
|00003df0| 75 20 6e 6f 72 6d 61 6c | 6c 79 20 67 65 74 20 74 |u normal|ly get t|
|00003e00| 6f 20 73 61 76 65 20 79 | 6f 75 72 20 66 69 6c 65 |o save y|our file|
|00003e10| 73 20 61 6e 64 20 77 69 | 6e 64 6f 77 73 2c 20 61 |s and wi|ndows, a|
|00003e20| 6c 74 68 6f 75 67 68 20 | 73 6f 6d 65 74 69 6d 65 |lthough |sometime|
|00003e30| 73 0d 74 68 65 20 6e 61 | 74 75 72 65 20 6f 66 20 |s.the na|ture of |
|00003e40| 74 68 65 20 65 72 72 6f | 72 20 63 61 75 73 65 73 |the erro|r causes|
|00003e50| 20 6d 6f 72 65 20 65 72 | 72 6f 72 73 20 74 6f 20 | more er|rors to |
|00003e60| 62 65 20 6d 61 64 65 20 | 61 73 20 74 68 65 20 66 |be made |as the f|
|00003e70| 69 6c 65 73 20 26 0d 77 | 69 6e 64 6f 77 73 20 61 |iles &.w|indows a|
|00003e80| 72 65 20 62 65 69 6e 67 | 20 73 61 76 65 64 2e 20 |re being| saved. |
|00003e90| 49 74 20 74 68 61 74 20 | 68 61 70 70 65 6e 73 2c |It that |happens,|
|00003ea0| 20 79 6f 75 20 6c 6f 73 | 65 20 79 6f 75 72 20 66 | you los|e your f|
|00003eb0| 69 c9 0d 45 78 70 65 72 | 69 65 6e 63 65 20 77 69 |i..Exper|ience wi|
|00003ec0| 6c 6c 20 74 65 6c 6c 20 | 77 68 61 74 27 73 20 62 |ll tell |what's b|
|00003ed0| 65 73 74 20 74 6f 20 64 | 6f 20 69 6e 20 61 20 73 |est to d|o in a s|
|00003ee0| 69 74 75 61 74 69 6f 6e | 2e 0d 28 49 20 73 75 72 |ituation|..(I sur|
|00003ef0| 65 20 68 6f 70 65 20 79 | 6f 75 20 64 6f 6e 27 74 |e hope y|ou don't|
|00003f00| 20 67 65 74 20 61 20 6c | 6f 74 20 6f 66 20 74 68 | get a l|ot of th|
|00003f10| 61 74 20 65 78 70 65 72 | 69 65 6e 63 65 c9 29 0d |at exper|ience.).|
|00003f20| 0d 49 27 64 20 61 70 70 | 72 65 63 69 61 74 65 20 |.I'd app|reciate |
|00003f30| 79 6f 75 20 6d 61 69 6c | 69 6e 67 20 6d 65 20 77 |you mail|ing me w|
|00003f40| 69 74 68 20 74 68 65 20 | 63 69 72 63 75 6d 73 74 |ith the |circumst|
|00003f50| 61 6e 63 65 73 20 61 6e | 64 20 6e 61 74 75 72 65 |ances an|d nature|
|00003f60| 20 6f 66 0d 42 20 26 20 | 43 20 74 79 70 65 20 6d | of.B & |C type m|
|00003f70| 65 73 73 61 67 65 73 2c | 20 61 6e 64 20 6f 66 20 |essages,| and of |
|00003f80| 75 6e 64 65 73 69 72 61 | 62 6c 65 20 65 66 66 65 |undesira|ble effe|
|00003f90| 63 74 73 20 6f 66 20 41 | 20 74 79 70 65 20 6d 65 |cts of A| type me|
|00003fa0| 73 73 61 67 65 73 2e 0d | 0d d7 20 50 72 6f 62 6c |ssages..|.. Probl|
|00003fb0| 65 6d 73 20 77 69 74 68 | 20 4f 70 65 6e 20 50 72 |ems with| Open Pr|
|00003fc0| 6f 6c 6f 67 0d 48 65 72 | 65 20 61 72 65 20 74 68 |olog.Her|e are th|
|00003fd0| 65 20 6b 6e 6f 77 6e 20 | 73 69 67 6e 69 66 69 63 |e known |signific|
|00003fe0| 61 6e 74 20 64 69 66 66 | 69 63 75 6c 74 69 65 73 |ant diff|iculties|
|00003ff0| 20 77 69 74 68 20 4f 70 | 65 6e 20 50 72 6f 6c 6f | with Op|en Prolo|
|00004000| 67 20 61 74 20 74 68 65 | 20 6d 6f 6d 65 6e 74 2e |g at the| moment.|
|00004010| 0d 54 68 65 72 65 20 61 | 72 65 20 73 69 6d 70 6c |.There a|re simpl|
|00004020| 65 20 77 6f 72 6b 61 72 | 6f 75 6e 64 73 20 66 6f |e workar|ounds fo|
|00004030| 72 20 74 68 65 6d 20 61 | 6c 6c 2e 0d 0d 31 2e 20 |r them a|ll...1. |
|00004040| 54 68 65 20 61 62 73 6f | 6c 75 74 65 20 6d 61 78 |The abso|lute max|
|00004050| 69 6d 75 6d 20 73 69 7a | 65 20 6f 66 20 61 6e 79 |imum siz|e of any|
|00004060| 20 66 69 6c 65 20 74 68 | 61 74 20 63 61 6e 20 62 | file th|at can b|
|00004070| 65 20 73 65 65 6e 20 69 | 6e 20 61 6e 20 4f 70 65 |e seen i|n an Ope|
|00004080| 6e 20 50 72 6f 6c 6f 67 | 0d 77 69 6e 64 6f 77 20 |n Prolog|.window |
|00004090| 69 73 20 6c 69 6d 69 74 | 65 64 20 74 6f 20 33 32 |is limit|ed to 32|
|000040a0| 37 36 37 20 63 68 61 72 | 61 63 74 65 72 73 2e 0d |767 char|acters..|
|000040b0| 41 63 74 75 61 6c 6c 79 | 20 74 68 65 20 72 65 61 |Actually| the rea|
|000040c0| 6c 69 73 74 69 63 20 6d | 61 78 69 6d 75 6d 20 69 |listic m|aximum i|
|000040d0| 73 20 61 62 6f 75 74 20 | 31 36 30 30 30 2e 0d 54 |s about |16000..T|
|000040e0| 68 69 73 20 6c 69 6d 69 | 74 20 6f 6e 6c 79 20 61 |his limi|t only a|
|000040f0| 70 70 6c 69 65 73 20 74 | 6f 20 66 69 6c 65 73 20 |pplies t|o files |
|00004100| 74 68 61 74 20 79 6f 75 | 20 77 61 6e 74 20 74 6f |that you| want to|
|00004110| 20 6f 70 65 6e 20 61 73 | 20 77 69 6e 64 6f 77 73 | open as| windows|
|00004120| 2e 0d 4f 70 65 6e 20 50 | 72 6f 6c 6f 67 20 6e 65 |..Open P|rolog ne|
|00004130| 69 74 68 65 72 20 74 72 | 75 6e 63 61 74 65 73 20 |ither tr|uncates |
|00004140| 77 69 6e 64 6f 77 20 66 | 69 6c 65 73 20 6e 6f 72 |window f|iles nor|
|00004150| 20 77 61 72 6e 73 20 79 | 6f 75 20 61 62 6f 75 74 | warns y|ou about|
|00004160| 20 69 6d 70 65 6e 64 69 | 6e 67 0d 70 72 6f 62 6c | impendi|ng.probl|
|00004170| 65 6d 73 2e 0d 53 6f 2c | 20 66 6f 72 20 65 78 61 |ems..So,| for exa|
|00004180| 6d 70 6c 65 2c 20 69 66 | 20 79 6f 75 72 20 70 72 |mple, if| your pr|
|00004190| 6f 67 72 61 6d 20 70 72 | 6f 64 75 63 65 73 20 6c |ogram pr|oduces l|
|000041a0| 61 72 67 65 20 6f 75 74 | 70 75 74 20 66 69 6c 65 |arge out|put file|
|000041b0| 73 2c 20 74 68 61 74 27 | 73 20 4f 4b 20 61 73 0d |s, that'|s OK as.|
|000041c0| 6c 6f 6e 67 20 61 73 20 | 79 6f 75 20 64 6f 6e 27 |long as |you don'|
|000041d0| 74 20 77 61 6e 74 20 74 | 6f 20 6f 70 65 6e 20 74 |t want t|o open t|
|000041e0| 68 65 6d 20 61 73 20 77 | 69 6e 64 6f 77 73 20 66 |hem as w|indows f|
|000041f0| 72 6f 6d 20 4f 70 65 6e | 20 50 72 6f 6c 6f 67 2e |rom Open| Prolog.|
|00004200| 0d 57 6f 72 6b 61 72 6f | 75 6e 64 73 3a 0d 20 42 |.Workaro|unds:. B|
|00004210| 72 65 61 6b 20 79 6f 75 | 72 20 66 69 6c 65 73 20 |reak you|r files |
|00004220| 69 6e 74 6f 20 73 6d 61 | 6c 6c 65 72 20 66 69 6c |into sma|ller fil|
|00004230| 65 73 2e 0d 20 54 72 69 | 6d 20 74 68 65 20 57 6f |es.. Tri|m the Wo|
|00004240| 72 6b 73 68 65 65 74 20 | 70 65 72 69 6f 64 69 63 |rksheet |periodic|
|00004250| 61 6c 6c 79 20 73 6f 20 | 74 68 61 74 20 69 73 20 |ally so |that is |
|00004260| 64 6f 65 73 6e 27 74 20 | 67 65 74 20 74 6f 6f 20 |doesn't |get too |
|00004270| 62 69 67 2e 0d 20 54 6f | 20 76 69 65 77 20 61 6e |big.. To| view an|
|00004280| 64 20 70 72 6f 63 65 73 | 73 20 6c 61 72 67 65 72 |d proces|s larger|
|00004290| 20 74 65 78 74 20 66 69 | 6c 65 73 2c 20 79 6f 75 | text fi|les, you|
|000042a0| 27 6c 6c 20 6e 65 65 64 | 20 74 6f 20 75 73 65 20 |'ll need| to use |
|000042b0| 61 20 74 65 78 74 20 70 | 72 6f 63 65 73 73 6f 72 |a text p|rocessor|
|000042c0| 0d 28 4d 50 57 20 68 69 | 67 68 6c 79 20 72 65 63 |.(MPW hi|ghly rec|
|000042d0| 6f 6d 6d 65 6e 64 65 64 | 29 20 6f 72 20 77 6f 72 |ommended|) or wor|
|000042e0| 64 20 70 72 6f 63 65 73 | 73 6f 72 20 69 6e 20 74 |d proces|sor in t|
|000042f0| 65 78 74 20 6d 6f 64 65 | 20 28 4d 53 20 57 6f 72 |ext mode| (MS Wor|
|00004300| 64 20 6f 72 0d 4d 61 63 | 57 72 69 74 65 20 49 49 |d or.Mac|Write II|
|00004310| 29 2e 0d 0d 32 2e 20 43 | 75 72 72 65 6e 74 6c 79 |)...2. C|urrently|
|00004320| 2c 20 74 68 65 20 77 69 | 6e 64 6f 77 20 73 79 73 |, the wi|ndow sys|
|00004330| 74 65 6d 20 61 6e 64 20 | 74 68 65 20 66 69 6c 65 |tem and |the file|
|00004340| 20 73 79 73 74 65 6d 20 | 61 72 65 20 6e 6f 74 20 | system |are not |
|00004350| 69 6e 74 65 67 72 61 74 | 65 64 2e 0d 53 6f 2c 20 |integrat|ed..So, |
|00004360| 63 68 61 6e 67 65 73 20 | 79 6f 75 20 6d 61 6b 65 |changes |you make|
|00004370| 20 74 6f 20 61 20 66 69 | 6c 65 20 69 6e 20 61 20 | to a fi|le in a |
|00004380| 77 69 6e 64 6f 77 20 61 | 72 65 20 6e 6f 74 20 61 |window a|re not a|
|00004390| 75 74 6f 6d 61 74 69 63 | 61 6c 6c 79 0d 72 65 66 |utomatic|ally.ref|
|000043a0| 6c 65 63 74 65 64 20 69 | 6e 20 74 68 65 20 66 69 |lected i|n the fi|
|000043b0| 6c 65 20 77 68 65 6e 20 | 69 74 20 69 73 20 62 65 |le when |it is be|
|000043c0| 69 6e 67 20 63 6f 6e 73 | 75 6c 74 65 64 2e 0d 57 |ing cons|ulted..W|
|000043d0| 6f 72 6b 61 72 6f 75 6e | 64 20 2d 20 61 66 74 65 |orkaroun|d - afte|
|000043e0| 72 20 6d 61 6b 69 6e 67 | 20 63 68 61 6e 67 65 73 |r making| changes|
|000043f0| 20 74 6f 20 61 20 66 69 | 6c 65 20 69 6e 20 61 20 | to a fi|le in a |
|00004400| 77 69 6e 64 6f 77 2c 0d | 73 61 76 65 20 69 74 20 |window,.|save it |
|00004410| 62 65 66 6f 72 65 20 63 | 6f 6e 73 75 6c 74 69 6e |before c|onsultin|
|00004420| 67 20 6f 72 20 72 65 63 | 6f 6e 73 75 6c 74 69 6e |g or rec|onsultin|
|00004430| 67 20 69 74 2e 0d 28 41 | 63 74 75 61 6c 6c 79 2c |g it..(A|ctually,|
|00004440| 20 69 74 27 73 20 61 20 | 67 6f 6f 64 20 69 64 65 | it's a |good ide|
|00004450| 61 20 74 6f 20 73 61 76 | 65 20 79 6f 75 72 20 77 |a to sav|e your w|
|00004460| 6f 72 6b 20 65 61 63 68 | 20 74 69 6d 65 20 61 6e |ork each| time an|
|00004470| 79 77 61 79 c9 29 0d 4c | 69 6b 65 77 69 73 65 2c |yway.).L|ikewise,|
|00004480| 20 61 20 77 69 6e 64 6f | 77 20 6d 75 73 74 20 62 | a windo|w must b|
|00004490| 65 20 63 6c 6f 73 65 64 | 20 62 65 66 6f 72 65 20 |e closed| before |
|000044a0| 79 6f 75 72 20 70 72 6f | 67 72 61 6d 0d 73 74 61 |your pro|gram.sta|
|000044b0| 72 74 73 20 74 6f 20 6f | 75 74 70 75 74 20 74 6f |rts to o|utput to|
|000044c0| 20 69 74 2e 0d 41 6e 6f | 74 68 65 72 20 64 69 66 | it..Ano|ther dif|
|000044d0| 66 69 63 75 6c 74 79 20 | 69 73 20 69 66 20 79 6f |ficulty |is if yo|
|000044e0| 75 20 74 72 79 20 74 6f | 20 6f 70 65 6e 20 61 20 |u try to| open a |
|000044f0| 77 69 6e 64 6f 77 20 26 | 20 66 69 6c 65 20 66 72 |window &| file fr|
|00004500| 6f 6d 20 61 20 70 72 65 | 64 69 63 61 74 65 0d 61 |om a pre|dicate.a|
|00004510| 6e 64 20 74 68 65 20 66 | 69 6c 65 20 69 73 20 61 |nd the f|ile is a|
|00004520| 6c 72 65 61 64 79 20 6f | 70 65 6e 20 69 6e 74 6f |lready o|pen into|
|00004530| 20 61 20 77 69 6e 64 6f | 77 20 6f 66 20 61 20 64 | a windo|w of a d|
|00004540| 69 66 66 65 72 65 6e 74 | 20 6e 61 6d 65 3b 20 74 |ifferent| name; t|
|00004550| 68 65 6e 20 74 68 65 0d | 73 79 73 74 65 6d 20 77 |hen the.|system w|
|00004560| 69 6c 6c 20 6e 6f 74 20 | 72 65 63 6f 67 6e 69 73 |ill not |recognis|
|00004570| 65 20 74 68 65 20 61 6c | 72 65 61 64 79 20 6f 70 |e the al|ready op|
|00004580| 65 6e 20 77 69 6e 64 6f | 77 20 61 73 20 74 68 65 |en windo|w as the|
|00004590| 20 6f 6e 65 20 69 74 20 | 77 61 6e 74 73 2c 0d 61 | one it |wants,.a|
|000045a0| 6e 64 20 77 69 6c 6c 20 | 72 65 66 75 73 65 20 74 |nd will |refuse t|
|000045b0| 6f 20 6f 70 65 6e 20 61 | 6e 6f 74 68 65 72 2e 0d |o open a|nother..|
|000045c0| 0d 33 2e 20 54 61 62 20 | 63 68 61 72 61 63 74 65 |.3. Tab |characte|
|000045d0| 72 73 20 61 72 65 20 6e | 6f 74 20 70 72 6f 70 65 |rs are n|ot prope|
|000045e0| 72 6c 79 20 72 65 70 72 | 65 73 65 6e 74 65 64 20 |rly repr|esented |
|000045f0| 6f 72 20 70 72 69 6e 74 | 65 64 20 2d 20 69 6e 73 |or print|ed - ins|
|00004600| 74 65 61 64 20 61 20 74 | 61 62 0d 61 6c 77 61 79 |tead a t|ab.alway|
|00004610| 73 20 6f 63 63 75 70 69 | 65 73 20 65 78 61 63 74 |s occupi|es exact|
|00004620| 6c 79 20 6f 6e 65 20 73 | 70 61 63 65 2e 20 49 66 |ly one s|pace. If|
|00004630| 20 79 6f 75 20 69 6e 74 | 65 6e 64 20 75 73 69 6e | you int|end usin|
|00004640| 67 20 79 6f 75 72 20 66 | 69 6c 65 73 20 77 69 74 |g your f|iles wit|
|00004650| 68 0d 61 6e 6f 74 68 65 | 72 20 74 65 78 74 2f 77 |h.anothe|r text/w|
|00004660| 6f 72 64 20 70 72 6f 63 | 65 73 73 6f 72 2c 20 74 |ord proc|essor, t|
|00004670| 68 65 6e 20 79 6f 75 20 | 73 68 6f 75 6c 64 20 70 |hen you |should p|
|00004680| 75 74 20 74 68 65 6d 20 | 69 6e c9 0d 0d 34 2e 20 |ut them |in...4. |
|00004690| 54 68 65 20 69 6d 70 6c | 65 6d 65 6e 74 61 74 69 |The impl|ementati|
|000046a0| 6f 6e 20 6f 66 20 63 75 | 74 73 20 69 6e 20 61 20 |on of cu|ts in a |
|000046b0| 64 69 73 6a 75 6e 63 74 | 69 76 65 20 63 61 6c 6c |disjunct|ive call|
|000046c0| 20 28 69 2e 65 2e 20 3b | 2f 32 29 20 69 73 20 6e | (i.e. ;|/2) is n|
|000046d0| 6f 74 0d 61 63 63 6f 72 | 64 69 6e 67 20 74 6f 20 |ot.accor|ding to |
|000046e0| 74 68 65 20 73 74 61 6e | 64 61 72 64 2e 0d 41 63 |the stan|dard..Ac|
|000046f0| 63 6f 72 64 69 6e 67 20 | 74 6f 20 74 68 65 20 73 |cording |to the s|
|00004700| 74 61 6e 64 61 72 64 2c | 20 63 75 74 20 69 6e 20 |tandard,| cut in |
|00004710| 61 20 64 69 73 6a 75 6e | 63 74 69 6f 6e 20 73 68 |a disjun|ction sh|
|00004720| 6f 75 6c 64 20 68 61 76 | 65 20 74 68 65 20 73 61 |ould hav|e the sa|
|00004730| 6d 65 20 65 66 66 65 63 | 74 0d 61 73 20 61 20 63 |me effec|t.as a c|
|00004740| 75 74 20 69 6e 20 74 68 | 65 20 64 69 73 6a 75 6e |ut in th|e disjun|
|00004750| 63 74 69 6f 6e 27 73 20 | 70 61 72 65 6e 74 2e 20 |ction's |parent. |
|00004760| 49 6e 20 4f 70 65 6e 20 | 50 72 6f 6c 6f 67 2c 20 |In Open |Prolog, |
|00004770| 61 20 63 75 74 20 69 6e | 20 61 20 64 69 73 6a 75 |a cut in| a disju|
|00004780| 6e 63 74 69 6f 6e 20 68 | 61 73 0d 6f 6e 6c 79 20 |nction h|as.only |
|00004790| 61 20 6c 6f 63 61 6c 20 | 65 66 66 65 63 74 2e 0d |a local |effect..|
|000047a0| 53 65 63 6f 6e 64 6c 79 | 2c 20 64 69 73 6a 75 6e |Secondly|, disjun|
|000047b0| 63 74 69 76 65 20 63 61 | 6c 6c 73 20 61 72 65 20 |ctive ca|lls are |
|000047c0| 63 6f 6d 70 69 6c 65 64 | 20 6f 6e 20 74 68 65 20 |compiled| on the |
|000047d0| 66 6c 79 20 69 6e 20 4f | 70 65 6e 20 50 72 6f 6c |fly in O|pen Prol|
|000047e0| 6f 67 2c 20 73 6f 20 74 | 68 65 79 0d 6d 75 63 68 |og, so t|hey.much|
|000047f0| 20 73 6c 6f 77 65 72 20 | 74 68 61 6e 20 6e 6f 72 | slower |than nor|
|00004800| 6d 61 6c 20 63 6f 64 65 | 2e 0d 42 6f 74 68 20 74 |mal code|..Both t|
|00004810| 68 65 73 65 20 70 6f 69 | 6e 74 73 20 77 69 6c 6c |hese poi|nts will|
|00004820| 20 62 65 20 66 69 78 65 | 64 20 6f 6e 20 74 68 65 | be fixe|d on the|
|00004830| 20 6e 65 78 74 20 72 65 | 76 69 73 69 6f 6e 2e 0d | next re|vision..|
|00004840| 0d 35 2e 09 53 69 6d 69 | 6c 61 72 6c 79 20 74 6f |.5..Simi|larly to|
|00004850| 20 61 62 6f 76 65 2c 20 | 61 20 6e 65 73 74 65 64 | above, |a nested|
|00004860| 20 63 6f 6e 6a 75 6e 63 | 74 69 76 65 20 63 61 6c | conjunc|tive cal|
|00004870| 6c 20 68 61 73 20 74 68 | 65 20 73 61 6d 65 20 70 |l has th|e same p|
|00004880| 72 6f 62 6c 65 6d 73 20 | 2d 0d 63 75 74 73 20 68 |roblems |-.cuts h|
|00004890| 61 76 65 20 6f 6e 6c 79 | 20 6c 6f 63 61 6c 20 65 |ave only| local e|
|000048a0| 66 66 65 63 74 73 2c 20 | 61 6e 64 20 74 68 65 20 |ffects, |and the |
|000048b0| 6e 65 73 74 65 64 20 63 | 61 6c 6c 73 20 61 72 65 |nested c|alls are|
|000048c0| 20 63 6f 6d 70 69 6c 65 | 64 20 6f 6e 20 74 68 65 | compile|d on the|
|000048d0| 20 66 6c 79 2e 0d 0d d7 | 20 45 78 74 65 72 6e 61 | fly....| Externa|
|000048e0| 6c 20 50 72 65 64 69 63 | 61 74 65 73 0d 49 66 20 |l Predic|ates.If |
|000048f0| 79 6f 75 20 72 65 61 6c | 6c 79 20 77 61 6e 74 20 |you real|ly want |
|00004900| 74 6f 20 77 72 69 74 65 | 20 73 6f 6d 65 20 65 78 |to write| some ex|
|00004910| 74 65 72 6e 61 6c 20 70 | 72 65 64 69 63 61 74 65 |ternal p|redicate|
|00004920| 73 2c 20 6d 61 69 6c 20 | 6d 65 20 26 20 49 27 6c |s, mail |me & I'l|
|00004930| 6c 20 73 65 6e 64 20 79 | 6f 75 0d 74 68 65 20 4d |l send y|ou.the M|
|00004940| 50 57 20 50 61 73 63 61 | 6c 20 66 69 6c 65 73 20 |PW Pasca|l files |
|00004950| 79 6f 75 20 6e 65 65 64 | 20 74 6f 67 65 74 68 65 |you need| togethe|
|00004960| 72 20 77 69 74 68 20 61 | 6e 20 65 78 61 6d 70 6c |r with a|n exampl|
|00004970| 65 2e 0d 42 65 20 61 77 | 61 72 65 20 74 68 61 74 |e..Be aw|are that|
|00004980| 20 69 74 27 73 20 6c 69 | 6b 65 6c 79 20 74 68 61 | it's li|kely tha|
|00004990| 74 20 74 68 65 20 69 6e | 74 65 72 66 61 63 65 20 |t the in|terface |
|000049a0| 77 69 6c 6c 20 63 68 61 | 6e 67 65 20 69 6e 20 74 |will cha|nge in t|
|000049b0| 68 65 20 66 75 74 75 72 | 65 2e 0d 0d d7 20 52 65 |he futur|e.... Re|
|000049c0| 76 69 73 69 6f 6e 20 48 | 69 73 74 6f 72 79 0d 2d |vision H|istory.-|
|000049d0| 31 2e 30 64 31 37 0d 31 | 2e 20 43 6f 73 6d 65 74 |1.0d17.1|. Cosmet|
|000049e0| 69 63 20 69 6d 70 72 6f | 76 65 6d 65 6e 74 73 2c |ic impro|vements,|
|000049f0| 20 70 61 72 74 69 63 75 | 6c 61 72 6c 79 20 6d 75 | particu|larly mu|
|00004a00| 6c 74 69 2d 73 63 72 65 | 65 6e 20 68 61 6e 64 6c |lti-scre|en handl|
|00004a10| 69 6e 67 2e 0d 32 2e 20 | 4e 65 77 20 77 69 6e 64 |ing..2. |New wind|
|00004a20| 6f 77 2d 68 61 6e 64 6c | 69 6e 67 20 70 72 65 64 |ow-handl|ing pred|
|00004a30| 69 63 61 74 65 73 2e 0d | 33 2e 20 45 78 74 65 72 |icates..|3. Exter|
|00004a40| 6e 61 6c 20 50 72 65 64 | 69 63 61 74 65 20 49 6e |nal Pred|icate In|
|00004a50| 74 65 72 66 61 63 65 20 | 49 6e 70 72 6f 76 65 6d |terface |Inprovem|
|00004a60| 65 6e 74 0d 0d 2d 20 31 | 2e 30 64 31 36 0d 31 2e |ent..- 1|.0d16.1.|
|00004a70| 09 41 20 63 72 61 73 68 | 2d 77 69 74 68 6f 75 74 |.A crash|-without|
|00004a80| 2d 77 61 72 6e 69 6e 67 | 20 62 75 67 20 68 61 73 |-warning| bug has|
|00004a90| 20 62 65 65 6e 20 63 75 | 72 65 64 2e 0d 32 2e 09 | been cu|red..2..|
|00004aa0| 41 20 62 75 67 20 69 6e | 20 63 61 6c 6c 28 58 29 |A bug in| call(X)|
|00004ab0| 20 77 68 69 63 68 20 64 | 65 63 6c 61 74 65 64 20 | which d|eclated |
|00004ac0| 61 20 63 61 6c 6c 20 6c | 69 6b 65 20 63 61 6c 6c |a call l|ike call|
|00004ad0| 28 28 72 65 61 64 28 58 | 29 2c 58 29 29 20 69 6c |((read(X|),X)) il|
|00004ae0| 6c 65 67 61 6c 20 62 65 | 63 61 75 73 65 0d 74 68 |legal be|cause.th|
|00004af0| 65 20 73 65 63 6f 6e 64 | 20 63 61 6c 6c 20 77 61 |e second| call wa|
|00004b00| 73 20 75 6e 69 6e 73 74 | 61 6e 74 69 61 74 65 64 |s uninst|antiated|
|00004b10| 20 68 61 73 20 62 65 65 | 6e 20 63 75 72 65 64 2e | has bee|n cured.|
|00004b20| 0d 33 2e 09 54 68 65 20 | 44 43 47 20 63 6f 6d 70 |.3..The |DCG comp|
|00004b30| 69 6c 65 72 20 68 61 73 | 20 62 65 65 6e 20 63 68 |iler has| been ch|
|00004b40| 61 6e 67 65 64 20 61 20 | 6c 69 74 74 6c 65 2e 0d |anged a |little..|
|00004b50| 34 2e 09 56 61 72 69 6f | 75 73 20 63 6f 73 6d 65 |4..Vario|us cosme|
|00004b60| 74 69 63 20 69 6d 70 72 | 6f 76 65 6d 65 6e 74 73 |tic impr|ovements|
|00004b70| 2e 0d 35 2e 09 41 20 6e | 75 6d 62 65 72 20 6f 66 |..5..A n|umber of|
|00004b80| 20 65 78 74 72 61 20 70 | 72 65 64 69 63 61 74 65 | extra p|redicate|
|00004b90| 73 20 74 6f 20 68 61 6e | 64 6c 65 20 77 69 6e 64 |s to han|dle wind|
|00004ba0| 6f 77 20 49 2f 4f 20 68 | 61 76 65 20 62 65 65 6e |ow I/O h|ave been|
|00004bb0| 20 61 64 64 65 64 2e 0d | 0d 2d 20 31 2e 30 64 31 | added..|.- 1.0d1|
|00004bc0| 35 0d 31 2e 20 41 20 72 | 65 73 74 72 69 63 74 69 |5.1. A r|estricti|
|00004bd0| 6f 6e 20 77 68 69 63 68 | 20 72 65 71 75 69 72 65 |on which| require|
|00004be0| 64 20 61 6c 6c 20 3c 45 | 4e 54 45 52 3e 65 64 20 |d all <E|NTER>ed |
|00004bf0| 74 65 78 74 20 28 69 6e | 63 6c 75 64 69 6e 67 20 |text (in|cluding |
|00004c00| 63 6f 6d 6d 61 6e 64 73 | 29 0d 74 6f 20 62 65 20 |commands|).to be |
|00004c10| 6f 6e 20 74 68 65 20 57 | 6f 72 6b 73 68 65 65 74 |on the W|orksheet|
|00004c20| 20 68 61 73 20 62 65 65 | 6e 20 72 65 6d 6f 76 65 | has bee|n remove|
|00004c30| 64 2e 0d 32 2e 20 53 6f | 6d 65 74 69 6d 65 73 20 |d..2. So|metimes |
|00004c40| 74 68 65 20 77 61 79 20 | 69 6e 20 77 68 69 63 68 |the way |in which|
|00004c50| 20 70 61 72 74 20 6f 66 | 20 61 20 6c 69 6e 65 20 | part of| a line |
|00004c60| 77 61 73 20 70 69 63 6b | 65 64 20 66 6f 72 20 73 |was pick|ed for s|
|00004c70| 65 6c 65 63 74 69 6f 6e | 0d 77 61 73 20 61 20 6c |election|.was a l|
|00004c80| 69 74 74 6c 65 20 75 6e | 70 72 65 64 69 63 74 61 |ittle un|predicta|
|00004c90| 62 6c 65 2e 20 54 68 69 | 73 20 68 61 73 20 62 65 |ble. Thi|s has be|
|00004ca0| 65 6e 20 63 75 72 65 64 | 2e 0d 33 2e 20 41 20 2d |en cured|..3. A -|
|00004cb0| 31 39 32 20 77 61 72 6e | 69 6e 67 20 63 61 75 73 |192 warn|ing caus|
|00004cc0| 65 64 20 62 79 20 61 20 | 68 61 72 6d 6c 65 73 73 |ed by a |harmless|
|00004cd0| 20 66 61 75 6c 74 20 69 | 6e 20 74 68 65 20 53 79 | fault i|n the Sy|
|00004ce0| 73 74 65 6d 0d 77 68 65 | 6e 20 44 41 20 4d 65 6e |stem.whe|n DA Men|
|00004cf0| 75 7a 20 61 6e 64 20 53 | 75 69 74 63 61 73 65 20 |uz and S|uitcase |
|00004d00| 77 65 72 65 20 70 72 65 | 73 65 6e 74 20 68 61 73 |were pre|sent has|
|00004d10| 20 62 65 65 6e 20 72 65 | 6d 6f 76 65 64 2e 0d 0d | been re|moved...|
|00004d20| 2d 20 31 2e 30 64 31 34 | 0d 49 6e 69 74 69 61 6c |- 1.0d14|.Initial|
|00004d30| 20 52 65 6c 65 61 73 65 | 0d 0d 00 00 00 00 00 00 | Release|........|
|00004d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004d80| 00 00 01 00 00 00 01 b1 | 00 00 00 b1 00 00 00 45 |........|.......E|
|00004d90| 6f 67 65 74 68 65 72 20 | 77 69 74 68 20 61 6e 20 |ogether |with an |
|00004da0| 65 78 61 6d 70 6c 65 2e | 0d 42 65 20 61 77 61 72 |example.|.Be awar|
|00004db0| 10 4f 70 65 6e 20 50 72 | 6f 6c 6f 67 20 49 6e 66 |.Open Pr|olog Inf|
|00004dc0| 6f 67 02 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |og......|........|
|00004dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004df0| 00 00 a3 d9 a3 f2 00 00 | 00 00 00 00 01 f6 70 72 |........|......pr|
|00004e00| 6f 63 65 73 73 6f 72 2c | 20 74 68 65 6e 20 79 6f |ocessor,| then yo|
|00004e10| 75 20 73 68 6f 75 6c 64 | 20 70 75 74 20 74 68 65 |u should| put the|
|00004e20| 6d 20 69 6e c9 0d 0d d7 | 20 45 78 74 65 72 6e 61 |m in....| Externa|
|00004e30| 6c 20 50 72 65 64 69 63 | 61 74 65 73 0d 49 66 20 |l Predic|ates.If |
|00004e40| 79 6f 75 20 72 65 61 6c | 6c 79 20 77 61 6e 74 20 |you real|ly want |
|00004e50| 74 6f 20 77 72 69 74 65 | 20 73 6f 6d 65 20 65 78 |to write| some ex|
|00004e60| 74 65 72 6e 61 6c 20 70 | 72 65 64 69 63 61 74 65 |ternal p|redicate|
|00004e70| 73 2c 20 6d 61 69 6c 20 | 6d 65 20 26 20 49 27 6c |s, mail |me & I'l|
|00004e80| 00 00 00 ad 00 03 00 00 | 00 48 00 48 00 00 00 00 |........|.H.H....|
|00004e90| 03 0d 02 1a ff e2 ff e4 | 03 2b 02 36 03 47 05 7b |........|.+.6.G.{|
|00004ea0| 03 de 00 02 00 00 00 48 | 00 48 00 00 00 00 03 0d |.......H|.H......|
|00004eb0| 02 1a 00 01 00 00 00 64 | 00 00 00 01 00 01 01 01 |.......d|........|
|00004ec0| 00 02 00 01 27 0f 00 01 | 00 01 00 00 00 00 00 00 |....'...|........|
|00004ed0| 00 00 00 00 00 00 00 02 | 00 19 01 90 00 00 00 00 |........|........|
|00004ee0| 00 40 00 00 00 00 00 00 | 00 00 00 01 00 00 00 00 |.@......|........|
|00004ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 01 00 2a |........|.......*|
|00004f00| 00 03 01 29 01 fa 00 00 | 00 00 00 00 00 00 00 00 |...)....|........|
|00004f10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 01 00 |........|........|
|00004f20| 00 00 e6 bc 37 5c 39 8f | 00 0c 06 47 65 6e 65 76 |....7\9.|...Genev|
|00004f30| 61 00 00 01 00 00 00 01 | b1 00 00 00 b1 00 00 00 |a.......|........|
|00004f40| 45 00 60 dc 08 0c 20 00 | 00 00 1c 00 32 00 00 50 |E.`... .|....2..P|
|00004f50| 52 4c 57 00 00 00 0a 00 | 81 00 00 00 00 00 00 00 |RLW.....|........|
|00004f60| 60 db 54 12 45 6e 76 69 | 72 6f 6e 6d 65 6e 74 20 |`.T.Envi|ronment |
|00004f70| 73 74 75 66 66 c9 00 00 | 00 00 00 00 00 00 00 00 |stuff...|........|
+--------+-------------------------+-------------------------+--------+--------+